From b9471002785b33dbacd92107e0aef885f4d2fedc Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Thu, 22 Feb 2024 20:23:37 +0800 Subject: [PATCH] increase batch size to 100 --- packages/api/src/jobs/integration/export_all_items.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/jobs/integration/export_all_items.ts b/packages/api/src/jobs/integration/export_all_items.ts index 52bf636b4..930a4c8df 100644 --- a/packages/api/src/jobs/integration/export_all_items.ts +++ b/packages/api/src/jobs/integration/export_all_items.ts @@ -40,7 +40,7 @@ export const exportAllItems = async (jobData: ExportAllItemsJobData) => { } const maxItems = 1000 - const limit = 50 + const limit = 100 let offset = 0 // get max 1000 most recent items from the database while (offset < maxItems) {