1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Issue #512 send_command("monitoring") is doomed to fail

This commit is contained in:
Daniel Price
2015-08-21 14:57:48 -07:00
parent 323d6a2fda
commit 575ade907c
2 changed files with 23 additions and 1 deletions

View File

@@ -369,7 +369,7 @@ RedisClient.prototype.on_ready = function () {
});
return;
} else if (this.monitoring) {
this.send_command("monitor");
this.send_command("monitor", []);
} else {
this.send_offline_queue();
}