Skip to content

fix(lobby): Re-pull the lobby after a websocket reconnect - #672

Open
bill-rich wants to merge 1 commit into
GeneralsOnlineDevelopmentTeam:mainfrom
bill-rich:up/lobby-repull-reconnect
Open

bill-rich wants to merge 1 commit into
GeneralsOnlineDevelopmentTeam:mainfrom
bill-rich:up/lobby-repull-reconnect

Conversation

@bill-rich

Copy link
Copy Markdown

Lobby pushes sent while the socket was down are gone for good. A guest that missed one sits on a stale slot
table until the next push, and a host waiting on that guest's acknowledgement waits forever. On a reconnect
while in a lobby, refresh the lobby from the service with the existing UpdateRoomDataCache.

Ten lines in WebSocket::Tick, inside the existing "Re-Connected" branch. Seen on our online nights after the
jittered-backoff reconnect landed: the reconnect itself worked, the lobby state after it did not.

Pushes sent while the socket was down are lost, so a guest can sit on a
stale slot table. Refresh the lobby from the service on reconnect.
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

Successfully merging this pull request may close these issues.

1 participant