mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
Checkpoint: File edits
Automatic checkpoint created by Claude Code - Branch: rebrand/ruvflow-umbrella - Timestamp: 2026-02-08T02:19:26Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fe70e37923
commit
437e040b52
1 file changed
+6
@@ -310,6 +310,12 @@ export class AutoMemoryBridge extends EventEmitter {
|
||||
const synced = buffered.length + entries.length;
|
||||
this.lastSyncTime = Date.now();
|
||||
|
||||
// Prevent unbounded growth of syncedInsightKeys
|
||||
if (this.syncedInsightKeys.size > 10_000) {
|
||||
const keys = [...this.syncedInsightKeys];
|
||||
this.syncedInsightKeys = new Set(keys.slice(keys.length - 5_000));
|
||||
}
|
||||
|
||||
const result: SyncResult = {
|
||||
synced,
|
||||
categories: [...updatedCategories],
|
||||
|
||||
Reference in new issue
Block a user