-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get all clients in a room across all nodes (#109)
- Loading branch information
1 parent
6a78282
commit 679e73c
Showing
3 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
679e73c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var subJson = sub.duplicate({ return_buffers: false });
This doesn't work with existing redis-sentinel adapters for nodejs:
TypeError: sub.duplicate is not a function
679e73c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redis-sentinel
does not seem to be maintained anymore: https://github.com/ortoo/node-redis-sentinelThat being said, we could maybe add a fallback, in case
duplicate
method does not exist. PR is welcome! 👼