pokerface/backend
Jan Willem Mannaerts a7aac985d2
All checks were successful
Build & Push Container Image / build (push) Successful in 5s
Clean up session participants on socket disconnect
When a user closes their browser or navigates away, the socket
disconnects without emitting poker:leave. The participant stayed
in the NATS session data indefinitely. Now the disconnect handler
iterates the socket's poker rooms and calls leaveSession for each,
then broadcasts the updated state to remaining participants.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 13:42:51 +01:00
..
src Clean up session participants on socket disconnect 2026-03-03 13:42:51 +01:00
.env.example Update env example with full Jira scopes and add source code link to privacy page 2026-02-28 12:32:59 +01:00
package-lock.json Add Prometheus metrics and Grafana dashboard 2026-03-01 01:02:36 +01:00
package.json Add Prometheus metrics and Grafana dashboard 2026-03-01 01:02:36 +01:00