humanmade / Hatjitsu

Websocket based Planning Poker
https://planningpoker.hmn.md/
MIT License
5 stars 2 forks source link

Properly Handle Connection Recovery #44

Open tomjn opened 8 months ago

tomjn commented 8 months ago

The newer versions of the socket IO libraries have connection recovery but we don't handle this. It's possibly it's not turned on and needs opting in.

Eitherway we need to at least handle https://socket.io/docs/v4/server-api/#socketrecovered and use that to check if the state was recovered so that we don't end up setting up new connections as new voters