gitdataai/libs/room/src
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
..
service fix(room): fix two major memory leaks 2026-04-26 16:52:20 +08:00
ai.rs feat(observability): Phase 6 OTLP tracing + Prometheus metrics endpoint 2026-04-22 10:27:54 +08:00
category.rs init 2026-04-15 09:08:09 +08:00
connection.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
draft_and_history.rs fix(room): fix scrolling lag, N+1 queries, and multiple WS token requests 2026-04-17 21:08:40 +08:00
error.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
helpers.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
lib.rs feat(room): update room lib (connection, helpers, member, message, notification, reaction, room, search, service, types) 2026-04-20 15:45:18 +08:00
member.rs refactor(room): migrate from slog to tracing + upgrade metrics to 0.22 2026-04-21 22:28:52 +08:00
message.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
metrics.rs feat(observability): Phase 6 OTLP tracing + Prometheus metrics endpoint 2026-04-22 10:27:54 +08:00
notification.rs chore: API and frontend UI adjustments 2026-04-25 09:54:05 +08:00
pin.rs init 2026-04-15 09:08:09 +08:00
reaction.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
room_ai_queue.rs refactor(room): migrate from slog to tracing + upgrade metrics to 0.22 2026-04-21 22:28:52 +08:00
room.rs refactor(room): migrate from slog to tracing + upgrade metrics to 0.22 2026-04-21 22:28:52 +08:00
search.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
thread.rs init 2026-04-15 09:08:09 +08:00
types.rs feat(room): store ordered streaming chunks + billing integration 2026-04-26 13:10:42 +08:00
ws_context.rs init 2026-04-15 09:08:09 +08:00