mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 18:58:26 +00:00
perf(test): lower synthetic payload in embedding batch split case
This commit is contained in:
@@ -51,7 +51,7 @@ describe("memory embedding batches", () => {
|
||||
|
||||
it("splits large files across multiple embedding batches", async () => {
|
||||
const line = "a".repeat(200);
|
||||
const content = Array.from({ length: 50 }, () => line).join("\n");
|
||||
const content = Array.from({ length: 40 }, () => line).join("\n");
|
||||
await fs.writeFile(path.join(workspaceDir, "memory", "2026-01-03.md"), content);
|
||||
|
||||
const cfg = {
|
||||
|
||||
Reference in New Issue
Block a user