You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
fix for 428e1c8a7b
- fix auth retry when redis is in loading state
This commit is contained in:
@@ -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
|
// If redis is still loading the db, it will not authenticate and everything else will fail
|
||||||
debug('Redis still loading, trying to authenticate later');
|
debug('Redis still loading, trying to authenticate later');
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
self.auth(user, pass, callback);
|
self.auth(pass, user, callback);
|
||||||
}, 100);
|
}, 100);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user