@okf/ootils 1.21.1 → 1.21.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -634,7 +634,8 @@ var BASE_BULLMQ_CONFIG = {
634
634
  }
635
635
  },
636
636
  workerConfig: {
637
- concurrency: 50,
637
+ concurrency: 1,
638
+ // Sequential processing to avoid MongoDB write conflicts
638
639
  lockDuration: 3e5,
639
640
  // 5 minutes lock duration since annotation can be slow
640
641
  maxStalledCount: 3
package/dist/browser.mjs CHANGED
@@ -597,7 +597,8 @@ var BASE_BULLMQ_CONFIG = {
597
597
  }
598
598
  },
599
599
  workerConfig: {
600
- concurrency: 50,
600
+ concurrency: 1,
601
+ // Sequential processing to avoid MongoDB write conflicts
601
602
  lockDuration: 3e5,
602
603
  // 5 minutes lock duration since annotation can be slow
603
604
  maxStalledCount: 3
package/dist/node.js CHANGED
@@ -237,7 +237,8 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
237
237
  }
238
238
  },
239
239
  workerConfig: {
240
- concurrency: 50,
240
+ concurrency: 1,
241
+ // Sequential processing to avoid MongoDB write conflicts
241
242
  lockDuration: 3e5,
242
243
  // 5 minutes lock duration since annotation can be slow
243
244
  maxStalledCount: 3
package/dist/node.mjs CHANGED
@@ -242,7 +242,8 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
242
242
  }
243
243
  },
244
244
  workerConfig: {
245
- concurrency: 50,
245
+ concurrency: 1,
246
+ // Sequential processing to avoid MongoDB write conflicts
246
247
  lockDuration: 3e5,
247
248
  // 5 minutes lock duration since annotation can be slow
248
249
  maxStalledCount: 3
package/dist/universal.js CHANGED
@@ -634,7 +634,8 @@ var BASE_BULLMQ_CONFIG = {
634
634
  }
635
635
  },
636
636
  workerConfig: {
637
- concurrency: 50,
637
+ concurrency: 1,
638
+ // Sequential processing to avoid MongoDB write conflicts
638
639
  lockDuration: 3e5,
639
640
  // 5 minutes lock duration since annotation can be slow
640
641
  maxStalledCount: 3
@@ -597,7 +597,8 @@ var BASE_BULLMQ_CONFIG = {
597
597
  }
598
598
  },
599
599
  workerConfig: {
600
- concurrency: 50,
600
+ concurrency: 1,
601
+ // Sequential processing to avoid MongoDB write conflicts
601
602
  lockDuration: 3e5,
602
603
  // 5 minutes lock duration since annotation can be slow
603
604
  maxStalledCount: 3
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.21.1",
6
+ "version": "1.21.2",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",