mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
That new flag will prevent the adapter (redis) from publishing the emit to the pub/sub server. When several instances of a server receive the same event from a third party (not from a client), each server instance broadcasts the event to all his clients. With the local flag, and the change in the redis adapter, each server instance send the event only to his client, so each client receive only one unique event.