Files
moltbot/src/auto-reply
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-15 17:08:31 +00:00
2026-01-25 10:02:12 +00:00
2026-01-25 10:02:12 +00:00
2026-01-18 06:12:54 +00:00
2026-01-25 12:22:36 +00:00
2026-01-23 01:00:24 +00:00
2026-01-25 12:22:36 +00:00