You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fixup
This commit is contained in:
@@ -19,7 +19,7 @@ function retryConnection (client, error) {
|
||||
attempt: client.attempts,
|
||||
error,
|
||||
totalRetryTime: client.retryTotaltime,
|
||||
timesConnected: client.timesConnected
|
||||
timesConnected: client._timesConnected
|
||||
}
|
||||
client.emit('reconnecting', reconnectParams)
|
||||
|
||||
@@ -71,11 +71,11 @@ function reconnect (client, why, error) {
|
||||
return
|
||||
}
|
||||
|
||||
client.retryDelay = client.retryStrategy({
|
||||
client.retryDelay = client._retryStrategy({
|
||||
attempt: client.attempts,
|
||||
error,
|
||||
totalRetryTime: client.retryTotaltime,
|
||||
timesConnected: client.timesConnected
|
||||
timesConnected: client._timesConnected
|
||||
})
|
||||
if (typeof client.retryDelay !== 'number') {
|
||||
var err
|
||||
|
Reference in New Issue
Block a user