perf: speed up memory batch polling

This commit is contained in:
Peter Steinberger
2026-01-18 03:55:09 +00:00
parent 0d9172d761
commit afb877a96b
10 changed files with 62 additions and 10 deletions

View File

@@ -71,7 +71,11 @@ export function registerMemoryCli(program: Command) {
});
if (opts.index) {
await withProgressTotals(
{ label: "Indexing memory…", total: 0 },
{
label: "Indexing memory…",
total: 0,
fallback: opts.verbose ? "line" : undefined,
},
async (update, progress) => {
try {
await manager.sync({