Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: limit nodes hit by "serverSideEmit" and "fetchSockets" in sharded adapter #519

Open
cody-evaluate opened this issue Nov 27, 2023 · 0 comments

Comments

@cody-evaluate
Copy link

cody-evaluate commented Nov 27, 2023

In the redis sharded adapter, you should be able to optionally specify a channel name to emit "serverSideEmit" or "fetchSockets" to limit network activity in some cases where you know where the event needs to go that way not every subscriber gets the event.

In some cases I know the name of a specific channel a socket.io server is subscribed to. The ability to call "serverSideEmit" or "fetchSockets" with an explicit channel name (per request) would be awesome.

@cody-evaluate cody-evaluate changed the title Feature request: limit nodes hit by "serverSideEmit" in sharded adapter Feature request: limit nodes hit by "serverSideEmit" and "fetchSockets" in sharded adapter Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant