From 7fdc54ea2f1c08de5de63ba9cbccea044ae3801a Mon Sep 17 00:00:00 2001 From: leibale Date: Wed, 31 Mar 2021 14:36:51 -0400 Subject: [PATCH] fix for 428e1c8a7b2322c2650294638cb1663ac5692728 - fix auth retry when redis is in loading state --- lib/individualCommands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/individualCommands.js b/lib/individualCommands.js index 4d6f0a70942..c3ea3da0df3 100644 --- a/lib/individualCommands.js +++ b/lib/individualCommands.js @@ -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; }