mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 21:08:25 +00:00
fix(memory/qmd): throttle embed + citations auto + restore --force
This commit is contained in:
@@ -90,7 +90,8 @@ describe("QmdMemoryManager", () => {
|
||||
Date.now() - (resolved.qmd?.update.debounceMs ?? 0) - 10;
|
||||
|
||||
await manager.sync({ reason: "after-wait" });
|
||||
expect(spawnMock.mock.calls.length).toBe(baselineCalls + 4);
|
||||
// By default we refresh embeddings less frequently than index updates.
|
||||
expect(spawnMock.mock.calls.length).toBe(baselineCalls + 3);
|
||||
|
||||
await manager.close();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user