You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Remove unused variable reference
This commit is contained in:
4
index.js
4
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;
|
||||
|
Reference in New Issue
Block a user