Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add fix for last test (re-establish pub_sub_mode = true)

  • Loading branch information...
commit 64a0e689278d0d2621445420d814ad13f39f925f 1 parent 2afa0e5
@bnoguchi bnoguchi authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  index.js
View
2  index.js
@@ -570,6 +570,8 @@ RedisClient.prototype.return_reply = function (reply) {
if (this.debug_mode) {
console.log("All subscriptions removed, exiting pub/sub mode");
}
+ } else {
+ this.pub_sub_mode = true;
}
// subscribe commands take an optional callback and also emit an event, but only the first response is included in the callback
// TODO - document this or fix it so it works in a more obvious way
Please sign in to comment.
Something went wrong with that request. Please try again.