Evicting a Room leaves its spectators' streams open forever #435
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
spec
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amaurycoudr/chess-project#435
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happens
When a Room is evicted, its spectators' streams stay open forever with no updates.
sweeponly deletes the map entry (apps/api/src/room/room.service.ts:371-379) and never endsroom.spectators.idleSinceonly looks at seat connections (:438-446), so a Room can be evicted while people are watching it.Each orphaned stream holds a connection open on the server, and its viewer sees a frozen board with no message.
Done when
mentioned in commit
8795b3d3c8mentioned in merge request !548
mentioned in commit
c842db7f70