Skip to content

Commit

Permalink
fix for 428e1c8 - fix auth retry when redis is in loading state
Browse files Browse the repository at this point in the history
  • Loading branch information
leibale committed Mar 31, 2021
1 parent 09f0fe8 commit 7fdc54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/individualCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ function auth_callback (self, pass, user, callback) {
// If redis is still loading the db, it will not authenticate and everything else will fail
debug('Redis still loading, trying to authenticate later');
setTimeout(function () {
self.auth(user, pass, callback);
self.auth(pass, user, callback);
}, 100);
return;
}
Expand Down

0 comments on commit 7fdc54e

Please sign in to comment.