@okf/ootils 1.32.4 → 1.32.5

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
@@ -1007,7 +1007,10 @@ var BASE_BULLMQ_CONFIG = {
1007
1007
  }
1008
1008
  },
1009
1009
  workerConfig: {
1010
- concurrency: 100,
1010
+ // Concurrency is 1 — we process one job at a time to avoid duplicate tag creation
1011
+ // across parallel jobs. Each job already processes 50 docs sequentially, and
1012
+ // inductive tag creation benefits from each doc seeing prior docs' new tags.
1013
+ concurrency: 1,
1011
1014
  lockDuration: 3e5,
1012
1015
  // 5 minutes lock duration since annotation can be slow
1013
1016
  maxStalledCount: 3
package/dist/browser.mjs CHANGED
@@ -939,7 +939,10 @@ var BASE_BULLMQ_CONFIG = {
939
939
  }
940
940
  },
941
941
  workerConfig: {
942
- concurrency: 100,
942
+ // Concurrency is 1 — we process one job at a time to avoid duplicate tag creation
943
+ // across parallel jobs. Each job already processes 50 docs sequentially, and
944
+ // inductive tag creation benefits from each doc seeing prior docs' new tags.
945
+ concurrency: 1,
943
946
  lockDuration: 3e5,
944
947
  // 5 minutes lock duration since annotation can be slow
945
948
  maxStalledCount: 3
package/dist/node.js CHANGED
@@ -265,7 +265,10 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
265
265
  }
266
266
  },
267
267
  workerConfig: {
268
- concurrency: 100,
268
+ // Concurrency is 1 — we process one job at a time to avoid duplicate tag creation
269
+ // across parallel jobs. Each job already processes 50 docs sequentially, and
270
+ // inductive tag creation benefits from each doc seeing prior docs' new tags.
271
+ concurrency: 1,
269
272
  lockDuration: 3e5,
270
273
  // 5 minutes lock duration since annotation can be slow
271
274
  maxStalledCount: 3
package/dist/node.mjs CHANGED
@@ -270,7 +270,10 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
270
270
  }
271
271
  },
272
272
  workerConfig: {
273
- concurrency: 100,
273
+ // Concurrency is 1 — we process one job at a time to avoid duplicate tag creation
274
+ // across parallel jobs. Each job already processes 50 docs sequentially, and
275
+ // inductive tag creation benefits from each doc seeing prior docs' new tags.
276
+ concurrency: 1,
274
277
  lockDuration: 3e5,
275
278
  // 5 minutes lock duration since annotation can be slow
276
279
  maxStalledCount: 3
package/dist/universal.js CHANGED
@@ -1007,7 +1007,10 @@ var BASE_BULLMQ_CONFIG = {
1007
1007
  }
1008
1008
  },
1009
1009
  workerConfig: {
1010
- concurrency: 100,
1010
+ // Concurrency is 1 — we process one job at a time to avoid duplicate tag creation
1011
+ // across parallel jobs. Each job already processes 50 docs sequentially, and
1012
+ // inductive tag creation benefits from each doc seeing prior docs' new tags.
1013
+ concurrency: 1,
1011
1014
  lockDuration: 3e5,
1012
1015
  // 5 minutes lock duration since annotation can be slow
1013
1016
  maxStalledCount: 3
@@ -939,7 +939,10 @@ var BASE_BULLMQ_CONFIG = {
939
939
  }
940
940
  },
941
941
  workerConfig: {
942
- concurrency: 100,
942
+ // Concurrency is 1 — we process one job at a time to avoid duplicate tag creation
943
+ // across parallel jobs. Each job already processes 50 docs sequentially, and
944
+ // inductive tag creation benefits from each doc seeing prior docs' new tags.
945
+ concurrency: 1,
943
946
  lockDuration: 3e5,
944
947
  // 5 minutes lock duration since annotation can be slow
945
948
  maxStalledCount: 3
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.32.4",
6
+ "version": "1.32.5",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",