disable eslint for lines 538 - 548

This commit is contained in:
Reed Rosenbluth
2015-07-20 18:18:45 -07:00
parent a71dc28523
commit b23d588747

View File

@@ -533,6 +533,8 @@ Server.prototype._retryConnect = function() {
this._retry += 1; this._retry += 1;
/*eslint-disable */
const retryTimeout = (this._retry < 40) const retryTimeout = (this._retry < 40)
// First, for 2 seconds: 20 times per second // First, for 2 seconds: 20 times per second
? (1000 / 20) ? (1000 / 20)
@@ -545,6 +547,8 @@ Server.prototype._retryConnect = function() {
// Then: once every 30 seconds // Then: once every 30 seconds
: (30 * 1000); : (30 * 1000);
/*eslint-enable */
function connectionRetry() { function connectionRetry() {
if (self._shouldConnect) { if (self._shouldConnect) {
if (self._remote.trace) { if (self._remote.trace) {