Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Restore batching

React-Admin CI2d9f848bee58
diff --git a/src/components/atomic-crm/misc/useImportFromJson.ts b/src/components/atomic-crm/misc/useImportFromJson.ts
index 52c80045..bfe96519 100644
--- a/src/components/atomic-crm/misc/useImportFromJson.ts
+++ b/src/components/atomic-crm/misc/useImportFromJson.ts
@@ -494,7 +494,7 @@ export const useImportFromJson = (): [
let currentTask: Promise<any> | null = null;
let currentBatch: Array<Promise<void>> = [];
- const BATCH_SIZE = 1;
+ const BATCH_SIZE = 50;
const parser = new JSONParser({
paths: [