Browse Source

emit event "ready" when disable_resubscribing is true

internal
Massimo Galbusera 9 years ago
parent
commit
9ee610d072
  1. 1
      index.js

1
index.js

@ -382,6 +382,7 @@ RedisClient.prototype.on_ready = function () {
}
};
if (this.options.disable_resubscribing) {
this.emit('ready');
return;
}
Object.keys(this.subscription_set).forEach(function (key) {

Loading…
Cancel
Save