You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(viewer): add cross-pod guard + handling in viewer:heartBeat #71
Unlike the broadcaster handler, this event does not verify that the room is owned by
the current pod — there is no getRedisRoom / redisRoom.nodeId !== config.instanceId
check. On a multi-pod deployment a viewer socket can land on a pod that does not own the
room and operate on empty/stale local state.
Task
Add the same cross-pod ownership guard used in registerBroadcaster.handler.ts, and
implement real cross-pod handling for the viewer:heartBeat event (forward/proxy to the owning
node, or redirect via sticky routing) rather than only erroring out.
Activity