From 71070d84fbda9211fb808706a155dd69458c769b Mon Sep 17 00:00:00 2001 From: Jan Matousek Date: Thu, 18 Oct 2012 19:37:37 +0200 Subject: [PATCH] Remove unused variable reference --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 8ef3f9ecde..786407a8ab 100644 --- a/index.js +++ b/index.js @@ -432,7 +432,7 @@ RedisClient.prototype.connection_gone = function (why) { this.retry_delay = Math.floor(this.retry_delay * this.retry_backoff); if (exports.debug_mode) { - console.log("Retry connection in " + this.current_retry_delay + " ms"); + console.log("Retry connection in " + this.retry_delay + " ms"); } if (this.max_attempts && this.attempts >= this.max_attempts) { @@ -453,7 +453,7 @@ RedisClient.prototype.connection_gone = function (why) { console.log("Retrying connection..."); } - self.retry_totaltime += self.current_retry_delay; + self.retry_totaltime += self.retry_delay; if (self.connect_timeout && self.retry_totaltime >= self.connect_timeout) { self.retry_timer = null;