diff --git a/index.js b/index.js index c06fc9ddaa..0e2e66d00a 100644 --- a/index.js +++ b/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) {