perf: improve batch status logging

This commit is contained in:
Peter Steinberger
2026-01-18 04:27:58 +00:00
parent 331b8157b0
commit e4e1396a98
5 changed files with 36 additions and 6 deletions

View File

@@ -82,7 +82,7 @@ describe("memory search config", () => {
enabled: true,
wait: true,
concurrency: 2,
pollIntervalMs: 500,
pollIntervalMs: 2000,
timeoutMinutes: 60,
});
});
@@ -135,7 +135,7 @@ describe("memory search config", () => {
enabled: true,
wait: true,
concurrency: 2,
pollIntervalMs: 500,
pollIntervalMs: 2000,
timeoutMinutes: 60,
},
});

View File

@@ -120,7 +120,7 @@ function mergeConfig(
overrides?.remote?.batch?.concurrency ?? defaults?.remote?.batch?.concurrency ?? 2,
),
pollIntervalMs:
overrides?.remote?.batch?.pollIntervalMs ?? defaults?.remote?.batch?.pollIntervalMs ?? 500,
overrides?.remote?.batch?.pollIntervalMs ?? defaults?.remote?.batch?.pollIntervalMs ?? 2000,
timeoutMinutes:
overrides?.remote?.batch?.timeoutMinutes ?? defaults?.remote?.batch?.timeoutMinutes ?? 60,
};