chore: lower concurrency on index upload (#11351)

* chore: lower concurrency on index upload

* chore: increase timeout
This commit is contained in:
Almeida
2025-12-09 21:02:57 +00:00
committed by GitHub
parent f60d3d65fe
commit 6a129bc054

View File

@@ -30,7 +30,7 @@ const client = new MeiliSearch({
apiKey: process.env.SEARCH_API_KEY,
});
const limit = pLimit(10);
const limit = pLimit(5);
try {
console.log('Generating all indices...');
@@ -73,7 +73,7 @@ try {
} catch {}
if (task) {
await client.tasks.waitForTask(task);
await client.tasks.waitForTask(task, { timeout: 10_000 });
}
const searchIndex = client.index(index.index);