Robby (AI-assisted)
af9606de36
fix(history): add LRU eviction for groupHistories to prevent memory leak
...
Add evictOldHistoryKeys() function that removes oldest keys when the
history map exceeds MAX_HISTORY_KEYS (1000). Called automatically in
appendHistoryEntry() to bound memory growth.
The map previously grew unbounded as users interacted with more groups
over time. Growth is O(unique groups) not O(messages), but still causes
slow memory accumulation on long-running instances.
Fixes #2384
2026-01-26 17:22:18 -06:00
..
2026-01-26 13:14:13 -08:00
2026-01-26 17:22:18 -06:00
2026-01-25 21:04:41 -06:00
2026-01-22 08:48:09 +00:00
2026-01-26 13:14:13 -08:00
2026-01-26 13:14:13 -08:00
2026-01-26 19:05:00 +00:00
2026-01-26 13:14:13 -08:00
2026-01-26 13:34:04 +00:00
2026-01-24 04:36:52 +00:00
2026-01-26 11:23:11 -08:00
2026-01-26 17:22:13 -06:00
2026-01-23 04:01:26 +00:00
2026-01-25 13:43:32 +00:00
2026-01-26 17:19:48 -06:00
2026-01-25 12:22:36 +00:00
2026-01-25 00:15:54 +00:00
2026-01-24 05:06:42 +00:00
2026-01-21 23:05:11 +00:00
2026-01-23 18:39:25 +00:00
2026-01-26 16:05:29 +00:00
2026-01-25 09:57:19 +00:00
2026-01-24 10:48:33 +00:00
2026-01-24 04:53:44 +00:00
2026-01-21 05:34:53 +00:00
2026-01-26 22:28:14 +05:30
2026-01-25 12:22:36 +00:00
2026-01-25 06:37:39 +00:00
2026-01-23 07:23:52 +00:00
2026-01-25 21:15:20 -06:00
2026-01-26 20:28:20 +00:00
2026-01-22 06:03:23 +00:00
2026-01-24 19:56:02 +00:00
2026-01-25 11:54:29 +00:00
2026-01-26 17:01:22 +00:00
2026-01-26 13:14:13 -08:00
2026-01-24 01:18:03 +00:00
2026-01-25 12:22:36 +00:00
2026-01-25 09:29:57 +00:00
2026-01-25 21:18:16 -06:00
2026-01-25 04:35:20 +00:00
2026-01-25 12:22:36 +00:00
2026-01-25 11:54:29 +00:00
2026-01-26 19:05:00 +00:00
2026-01-24 03:24:28 +00:00
2026-01-24 10:48:33 +00:00
2026-01-19 02:02:17 +00:00
2026-01-18 23:10:39 +00:00
2026-01-21 01:58:47 +00:00
2026-01-22 07:02:52 +00:00
2026-01-19 00:15:44 +00:00
2026-01-18 19:34:21 +00:00
2026-01-23 04:01:26 +00:00