Files
ukmesh/backend/src/ws
BenandClaude Sonnet 4.6 7b9ac180a9 Performance: push dedup to SQL, periodic cache eviction, owner/live cache
- getOwnerNodeIdsForUsername/getMappedOwnerNodeIds: move dedup and format
  validation into SQL (SELECT DISTINCT + regex filter) instead of JS post-processing
- viableLinksCache: add setInterval to evict stale entries every 30s so unused
  network/observer combos don't persist in memory indefinitely
- /owner/live: add 5s in-memory cache per nodeId to avoid 6 heavy parallel
  DB queries on every poll cycle

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 03:47:26 +00:00
..