diff --git a/src/export-data.ts b/src/export-data.ts index 480e940..272ff91 100644 --- a/src/export-data.ts +++ b/src/export-data.ts @@ -27,7 +27,7 @@ import { prisma } from './db'; const index = meilisearch.index('comic_pages'); - const batchSize = 100; + const batchSize = 10_000; for (let i = 0; i < Math.ceil(pages.length / batchSize); i++) { const startIndex = i * batchSize; const endIndex = Math.min(pages.length, (i + 1) * batchSize);