1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00
This commit is contained in:
Ruben Bridgewater
2017-05-30 05:29:51 +02:00
parent ac26d0524d
commit 31fafd8b7c
6 changed files with 31 additions and 23 deletions

View File

@@ -125,7 +125,7 @@ if (process.platform !== 'win32') {
client = redis.createClient.apply(null, args)
client.auth(auth).catch(done)
client.on('ready', function () {
if (this.timesConnected < 3) {
if (this._timesConnected < 3) {
let interval = setInterval(() => {
if (client.commandQueue.length !== 0) {
return