gitdataai/libs/room/src/service
ZhenYi 0e53f4a69f
Some checks are pending
CI / Rust Lint & Check (push) Waiting to run
CI / Rust Tests (push) Waiting to run
CI / Frontend Lint & Type Check (push) Waiting to run
CI / Frontend Build (push) Blocked by required conditions
fix(room): fix two major memory leaks
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.
2026-04-26 16:52:20 +08:00
..
access.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
ai_common.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
ai_nonstreaming.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
ai_react_nonstreaming.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
ai_react_streaming.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
ai_streaming.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
billing.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
history.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
mentions.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
mod.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
notifications.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
patterns.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
sequence.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
workers.rs fix(room): fix two major memory leaks 2026-04-26 16:52:20 +08:00