1. WS disconnect now unsubscribes from user_notification_inner. Previously, every WebSocket connection created a broadcast channel for user notifications that was never removed on disconnect, causing unbounded growth proportional to unique connected users over time. 2. Room worker tasks now use the manager's room_shutdown_txs channel instead of a local broadcast channel. shutdown_room() sends on this channel, so when a room is deleted the worker task receives the signal and terminates, releasing its DashMap (capacity 10,000) and all captured closures. Previously the worker ran forever. |
||
|---|---|---|
| .. | ||
| ai.rs | ||
| category.rs | ||
| draft_and_history.rs | ||
| member.rs | ||
| message.rs | ||
| mod.rs | ||
| notification.rs | ||
| pin.rs | ||
| reaction.rs | ||
| room.rs | ||
| thread.rs | ||
| upload.rs | ||
| ws_handler.rs | ||
| ws_types.rs | ||
| ws_universal.rs | ||
| ws.rs | ||