rspace-online/modules/rcal
Jeff Emmett 53c757e68e fix: comprehensive memory leak and performance fixes across 44 files
Browser-side:
- Fix switchSpace() to LRU-evict idle space WebSocket connections (cap: 3)
- Add runtime.unsubscribe() to disconnectedCallback in 24 components
- Fix DocSyncManager.unsubscribe() to clean up syncStates, timers, listeners
- Fix 14 components leaking RAF loops, ResizeObservers, MutationObservers,
  document/window listeners, setIntervals, MapLibre WebGL contexts, and
  AbortControllers on disconnect
- Deduplicate Automerge WASM: module builds now use global shim from
  shell-offline instead of bundling ~2.5MB each (8 modules affected)

Server-side:
- Add LRU eviction to SyncServer.#docs (cap: 500, evicts idle docs with
  no subscribers, persists to disk before eviction)
- registerWatcher() now returns unsubscribe function

Data:
- Cap unbounded CRDT arrays: rexchange chatMessages (200), rcart events (200)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 22:26:24 -04:00
..
components fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
db feat: Phase 4 — remove PostgreSQL from 11 modules, switch to Automerge 2026-03-02 15:48:01 -08:00
geo-hierarchy.ts feat(rcal): add semantic zoom for map and calendar views 2026-04-06 14:40:08 -04:00
landing.ts fix: update rCal landing, de-spam info popups, fix stale URLs & banner persistence 2026-04-04 19:14:27 -04:00
local-first-client.ts feat(rcal): map shows routes with booking status, calendar keeps semantic zoom 2026-04-08 13:28:08 -04:00
mod.ts feat(rcal): add Google Calendar sync integration with connectors menu 2026-04-10 19:45:52 -04:00
schemas.ts feat(rcal): add Google Calendar sync integration with connectors menu 2026-04-10 19:45:52 -04:00