Skip to content

Commit 9ee610d

Browse files
committed
emit event "ready" when disable_resubscribing is true
1 parent 4c27e87 commit 9ee610d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ RedisClient.prototype.on_ready = function () {
382382
}
383383
};
384384
if (this.options.disable_resubscribing) {
385+
this.emit('ready');
385386
return;
386387
}
387388
Object.keys(this.subscription_set).forEach(function (key) {

0 commit comments

Comments
 (0)