Skip to content

Commit 7fdc54e

Browse files
committed
fix for 428e1c8 - fix auth retry when redis is in loading state
1 parent 09f0fe8 commit 7fdc54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/individualCommands.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function auth_callback (self, pass, user, callback) {
191191
// If redis is still loading the db, it will not authenticate and everything else will fail
192192
debug('Redis still loading, trying to authenticate later');
193193
setTimeout(function () {
194-
self.auth(user, pass, callback);
194+
self.auth(pass, user, callback);
195195
}, 100);
196196
return;
197197
}

0 commit comments

Comments
 (0)