Skip to content

Commit f37d5ed

Browse files
committed
Merge pull request #925 from maxgalbu/maxgalbu-patch-1
Emit event "ready" when disable_resubscribing is true
2 parents 4c27e87 + 9ee610d commit f37d5ed

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)