diff --git a/apps/backend/src/scripts/update-catalog.ts b/apps/backend/src/scripts/update-catalog.ts index fb97bc843..8623e3927 100644 --- a/apps/backend/src/scripts/update-catalog.ts +++ b/apps/backend/src/scripts/update-catalog.ts @@ -278,7 +278,7 @@ const updateTerms = async () => { await TermModel.deleteMany({}); await TermModel.insertMany(terms); - + // Split terms into batches of 5000 const batchSize = 5000;