gitdataai/libs/api/room
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
..
ai.rs init 2026-04-15 09:08:09 +08:00
category.rs init 2026-04-15 09:08:09 +08:00
draft_and_history.rs init 2026-04-15 09:08:09 +08:00
member.rs init 2026-04-15 09:08:09 +08:00
message.rs init 2026-04-15 09:08:09 +08:00
mod.rs feat(room): add attachment upload/download API and attach files to messages 2026-04-20 19:32:11 +08:00
notification.rs init 2026-04-15 09:08:09 +08:00
pin.rs init 2026-04-15 09:08:09 +08:00
reaction.rs feat(room): add attachment upload/download API and attach files to messages 2026-04-20 19:32:11 +08:00
room.rs init 2026-04-15 09:08:09 +08:00
thread.rs init 2026-04-15 09:08:09 +08:00
upload.rs fix: room attachment upload (Set Uuid::nil, NotFound with msg, Ok wrapper) and silence dead_code warnings 2026-04-20 19:48:05 +08:00
ws_handler.rs fix(ws): replace unreachable_unchecked with safe fallback for TypingStart/TypingStop 2026-04-24 00:04:18 +08:00
ws_types.rs feat(room): implement typing indicator broadcast with Redis 10s TTL 2026-04-24 00:04:09 +08:00
ws_universal.rs fix(room): fix two major memory leaks 2026-04-26 16:52:20 +08:00
ws.rs refactor(api,agent): migrate libs/api room ws and libs/agent client to tracing 2026-04-21 22:31:13 +08:00