@okf/ootils 1.32.5 → 1.32.6
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 +5 -4
- package/dist/browser.mjs +5 -4
- package/dist/node.js +5 -4
- package/dist/node.mjs +5 -4
- package/dist/universal.js +5 -4
- package/dist/universal.mjs +5 -4
- package/package.json +1 -1
package/dist/browser.js
CHANGED
|
@@ -1007,10 +1007,11 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
1007
1007
|
}
|
|
1008
1008
|
},
|
|
1009
1009
|
workerConfig: {
|
|
1010
|
-
//
|
|
1011
|
-
//
|
|
1012
|
-
//
|
|
1013
|
-
|
|
1010
|
+
// Parallel-safe: createTag/createSubTheme catch E11000 on the unique tagId
|
|
1011
|
+
// index and re-fetch the existing doc, so concurrent jobs proposing the
|
|
1012
|
+
// same tag converge to one. See ai/dualAgentAnnotation/tools/createTaxonomyItem.js.
|
|
1013
|
+
// Starting at 10; real ceiling is the LLM provider's rate limit.
|
|
1014
|
+
concurrency: 10,
|
|
1014
1015
|
lockDuration: 3e5,
|
|
1015
1016
|
// 5 minutes lock duration since annotation can be slow
|
|
1016
1017
|
maxStalledCount: 3
|
package/dist/browser.mjs
CHANGED
|
@@ -939,10 +939,11 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
939
939
|
}
|
|
940
940
|
},
|
|
941
941
|
workerConfig: {
|
|
942
|
-
//
|
|
943
|
-
//
|
|
944
|
-
//
|
|
945
|
-
|
|
942
|
+
// Parallel-safe: createTag/createSubTheme catch E11000 on the unique tagId
|
|
943
|
+
// index and re-fetch the existing doc, so concurrent jobs proposing the
|
|
944
|
+
// same tag converge to one. See ai/dualAgentAnnotation/tools/createTaxonomyItem.js.
|
|
945
|
+
// Starting at 10; real ceiling is the LLM provider's rate limit.
|
|
946
|
+
concurrency: 10,
|
|
946
947
|
lockDuration: 3e5,
|
|
947
948
|
// 5 minutes lock duration since annotation can be slow
|
|
948
949
|
maxStalledCount: 3
|
package/dist/node.js
CHANGED
|
@@ -265,10 +265,11 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
265
265
|
}
|
|
266
266
|
},
|
|
267
267
|
workerConfig: {
|
|
268
|
-
//
|
|
269
|
-
//
|
|
270
|
-
//
|
|
271
|
-
|
|
268
|
+
// Parallel-safe: createTag/createSubTheme catch E11000 on the unique tagId
|
|
269
|
+
// index and re-fetch the existing doc, so concurrent jobs proposing the
|
|
270
|
+
// same tag converge to one. See ai/dualAgentAnnotation/tools/createTaxonomyItem.js.
|
|
271
|
+
// Starting at 10; real ceiling is the LLM provider's rate limit.
|
|
272
|
+
concurrency: 10,
|
|
272
273
|
lockDuration: 3e5,
|
|
273
274
|
// 5 minutes lock duration since annotation can be slow
|
|
274
275
|
maxStalledCount: 3
|
package/dist/node.mjs
CHANGED
|
@@ -270,10 +270,11 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
270
270
|
}
|
|
271
271
|
},
|
|
272
272
|
workerConfig: {
|
|
273
|
-
//
|
|
274
|
-
//
|
|
275
|
-
//
|
|
276
|
-
|
|
273
|
+
// Parallel-safe: createTag/createSubTheme catch E11000 on the unique tagId
|
|
274
|
+
// index and re-fetch the existing doc, so concurrent jobs proposing the
|
|
275
|
+
// same tag converge to one. See ai/dualAgentAnnotation/tools/createTaxonomyItem.js.
|
|
276
|
+
// Starting at 10; real ceiling is the LLM provider's rate limit.
|
|
277
|
+
concurrency: 10,
|
|
277
278
|
lockDuration: 3e5,
|
|
278
279
|
// 5 minutes lock duration since annotation can be slow
|
|
279
280
|
maxStalledCount: 3
|
package/dist/universal.js
CHANGED
|
@@ -1007,10 +1007,11 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
1007
1007
|
}
|
|
1008
1008
|
},
|
|
1009
1009
|
workerConfig: {
|
|
1010
|
-
//
|
|
1011
|
-
//
|
|
1012
|
-
//
|
|
1013
|
-
|
|
1010
|
+
// Parallel-safe: createTag/createSubTheme catch E11000 on the unique tagId
|
|
1011
|
+
// index and re-fetch the existing doc, so concurrent jobs proposing the
|
|
1012
|
+
// same tag converge to one. See ai/dualAgentAnnotation/tools/createTaxonomyItem.js.
|
|
1013
|
+
// Starting at 10; real ceiling is the LLM provider's rate limit.
|
|
1014
|
+
concurrency: 10,
|
|
1014
1015
|
lockDuration: 3e5,
|
|
1015
1016
|
// 5 minutes lock duration since annotation can be slow
|
|
1016
1017
|
maxStalledCount: 3
|
package/dist/universal.mjs
CHANGED
|
@@ -939,10 +939,11 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
939
939
|
}
|
|
940
940
|
},
|
|
941
941
|
workerConfig: {
|
|
942
|
-
//
|
|
943
|
-
//
|
|
944
|
-
//
|
|
945
|
-
|
|
942
|
+
// Parallel-safe: createTag/createSubTheme catch E11000 on the unique tagId
|
|
943
|
+
// index and re-fetch the existing doc, so concurrent jobs proposing the
|
|
944
|
+
// same tag converge to one. See ai/dualAgentAnnotation/tools/createTaxonomyItem.js.
|
|
945
|
+
// Starting at 10; real ceiling is the LLM provider's rate limit.
|
|
946
|
+
concurrency: 10,
|
|
946
947
|
lockDuration: 3e5,
|
|
947
948
|
// 5 minutes lock duration since annotation can be slow
|
|
948
949
|
maxStalledCount: 3
|