-
Notifications
You must be signed in to change notification settings - Fork 485
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add two subscription modes for the sharded adapter
The subscriptionMode option allows to configure how many Redis Pub/Sub channels are used: - "static": 2 channels per namespace Useful when used with dynamic namespaces. - "dynamic": (2 + 1 per public room) channels per namespace The default value, useful when some rooms have a low number of clients (so only a few Socket.IO servers are notified). Related: - #491 - #492 - #493
- Loading branch information
1 parent
ef51d69
commit d3388bf
Showing
4 changed files
with
110 additions
and
29 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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