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
Restarting the api does not lose the state of which sockets are in which rooms.
Actual behaviour
Restarting the api causes all the rooms that sockets have joined to be lost because that state is not persisted (or shared between api instances, for that matter.)
Expected behaviour
Restarting the api does not lose the state of which sockets are in which rooms.
Actual behaviour
Restarting the api causes all the rooms that sockets have joined to be lost because that state is not persisted (or shared between api instances, for that matter.)
Details and resources
Socket.IO has adapters for this sort of thing, such as https://socket.io/docs/v4/redis-adapter/.
Checklist
The text was updated successfully, but these errors were encountered: