@okf/ootils 1.15.0 → 1.15.1

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
@@ -479,9 +479,11 @@ var BASE_BULLMQ_CONFIG = {
479
479
  }
480
480
  },
481
481
  workerConfig: {
482
- concurrency: 200,
482
+ concurrency: 50,
483
483
  lockDuration: 9e4,
484
+ // 90 seconds lock duration for chunk processing (which can be lengthy)
484
485
  maxStalledCount: 3
486
+ // Allow mome retries for stalled jobs
485
487
  }
486
488
  },
487
489
  CREATE_ANNOS_QUEUE: {
@@ -504,7 +506,7 @@ var BASE_BULLMQ_CONFIG = {
504
506
  }
505
507
  },
506
508
  workerConfig: {
507
- concurrency: 200,
509
+ concurrency: 50,
508
510
  lockDuration: 9e4,
509
511
  maxStalledCount: 3
510
512
  }
@@ -529,7 +531,7 @@ var BASE_BULLMQ_CONFIG = {
529
531
  }
530
532
  },
531
533
  workerConfig: {
532
- concurrency: 200,
534
+ concurrency: 50,
533
535
  lockDuration: 9e4,
534
536
  maxStalledCount: 3
535
537
  }
@@ -617,7 +619,7 @@ var BASE_BULLMQ_CONFIG = {
617
619
  }
618
620
  },
619
621
  workerConfig: {
620
- concurrency: 200,
622
+ concurrency: 50,
621
623
  lockDuration: 9e4,
622
624
  maxStalledCount: 3
623
625
  }
@@ -642,7 +644,7 @@ var BASE_BULLMQ_CONFIG = {
642
644
  }
643
645
  },
644
646
  workerConfig: {
645
- concurrency: 200,
647
+ concurrency: 50,
646
648
  lockDuration: 9e4,
647
649
  maxStalledCount: 3
648
650
  }
@@ -667,7 +669,7 @@ var BASE_BULLMQ_CONFIG = {
667
669
  }
668
670
  },
669
671
  workerConfig: {
670
- concurrency: 200,
672
+ concurrency: 50,
671
673
  lockDuration: 9e4,
672
674
  maxStalledCount: 3
673
675
  }
package/dist/browser.mjs CHANGED
@@ -443,9 +443,11 @@ var BASE_BULLMQ_CONFIG = {
443
443
  }
444
444
  },
445
445
  workerConfig: {
446
- concurrency: 200,
446
+ concurrency: 50,
447
447
  lockDuration: 9e4,
448
+ // 90 seconds lock duration for chunk processing (which can be lengthy)
448
449
  maxStalledCount: 3
450
+ // Allow mome retries for stalled jobs
449
451
  }
450
452
  },
451
453
  CREATE_ANNOS_QUEUE: {
@@ -468,7 +470,7 @@ var BASE_BULLMQ_CONFIG = {
468
470
  }
469
471
  },
470
472
  workerConfig: {
471
- concurrency: 200,
473
+ concurrency: 50,
472
474
  lockDuration: 9e4,
473
475
  maxStalledCount: 3
474
476
  }
@@ -493,7 +495,7 @@ var BASE_BULLMQ_CONFIG = {
493
495
  }
494
496
  },
495
497
  workerConfig: {
496
- concurrency: 200,
498
+ concurrency: 50,
497
499
  lockDuration: 9e4,
498
500
  maxStalledCount: 3
499
501
  }
@@ -581,7 +583,7 @@ var BASE_BULLMQ_CONFIG = {
581
583
  }
582
584
  },
583
585
  workerConfig: {
584
- concurrency: 200,
586
+ concurrency: 50,
585
587
  lockDuration: 9e4,
586
588
  maxStalledCount: 3
587
589
  }
@@ -606,7 +608,7 @@ var BASE_BULLMQ_CONFIG = {
606
608
  }
607
609
  },
608
610
  workerConfig: {
609
- concurrency: 200,
611
+ concurrency: 50,
610
612
  lockDuration: 9e4,
611
613
  maxStalledCount: 3
612
614
  }
@@ -631,7 +633,7 @@ var BASE_BULLMQ_CONFIG = {
631
633
  }
632
634
  },
633
635
  workerConfig: {
634
- concurrency: 200,
636
+ concurrency: 50,
635
637
  lockDuration: 9e4,
636
638
  maxStalledCount: 3
637
639
  }
package/dist/node.js CHANGED
@@ -98,9 +98,11 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
98
98
  }
99
99
  },
100
100
  workerConfig: {
101
- concurrency: 200,
101
+ concurrency: 50,
102
102
  lockDuration: 9e4,
103
+ // 90 seconds lock duration for chunk processing (which can be lengthy)
103
104
  maxStalledCount: 3
105
+ // Allow mome retries for stalled jobs
104
106
  }
105
107
  },
106
108
  CREATE_ANNOS_QUEUE: {
@@ -123,7 +125,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
123
125
  }
124
126
  },
125
127
  workerConfig: {
126
- concurrency: 200,
128
+ concurrency: 50,
127
129
  lockDuration: 9e4,
128
130
  maxStalledCount: 3
129
131
  }
@@ -148,7 +150,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
148
150
  }
149
151
  },
150
152
  workerConfig: {
151
- concurrency: 200,
153
+ concurrency: 50,
152
154
  lockDuration: 9e4,
153
155
  maxStalledCount: 3
154
156
  }
@@ -236,7 +238,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
236
238
  }
237
239
  },
238
240
  workerConfig: {
239
- concurrency: 200,
241
+ concurrency: 50,
240
242
  lockDuration: 9e4,
241
243
  maxStalledCount: 3
242
244
  }
@@ -261,7 +263,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
261
263
  }
262
264
  },
263
265
  workerConfig: {
264
- concurrency: 200,
266
+ concurrency: 50,
265
267
  lockDuration: 9e4,
266
268
  maxStalledCount: 3
267
269
  }
@@ -286,7 +288,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
286
288
  }
287
289
  },
288
290
  workerConfig: {
289
- concurrency: 200,
291
+ concurrency: 50,
290
292
  lockDuration: 9e4,
291
293
  maxStalledCount: 3
292
294
  }
package/dist/node.mjs CHANGED
@@ -103,9 +103,11 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
103
103
  }
104
104
  },
105
105
  workerConfig: {
106
- concurrency: 200,
106
+ concurrency: 50,
107
107
  lockDuration: 9e4,
108
+ // 90 seconds lock duration for chunk processing (which can be lengthy)
108
109
  maxStalledCount: 3
110
+ // Allow mome retries for stalled jobs
109
111
  }
110
112
  },
111
113
  CREATE_ANNOS_QUEUE: {
@@ -128,7 +130,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
128
130
  }
129
131
  },
130
132
  workerConfig: {
131
- concurrency: 200,
133
+ concurrency: 50,
132
134
  lockDuration: 9e4,
133
135
  maxStalledCount: 3
134
136
  }
@@ -153,7 +155,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
153
155
  }
154
156
  },
155
157
  workerConfig: {
156
- concurrency: 200,
158
+ concurrency: 50,
157
159
  lockDuration: 9e4,
158
160
  maxStalledCount: 3
159
161
  }
@@ -241,7 +243,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
241
243
  }
242
244
  },
243
245
  workerConfig: {
244
- concurrency: 200,
246
+ concurrency: 50,
245
247
  lockDuration: 9e4,
246
248
  maxStalledCount: 3
247
249
  }
@@ -266,7 +268,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
266
268
  }
267
269
  },
268
270
  workerConfig: {
269
- concurrency: 200,
271
+ concurrency: 50,
270
272
  lockDuration: 9e4,
271
273
  maxStalledCount: 3
272
274
  }
@@ -291,7 +293,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
291
293
  }
292
294
  },
293
295
  workerConfig: {
294
- concurrency: 200,
296
+ concurrency: 50,
295
297
  lockDuration: 9e4,
296
298
  maxStalledCount: 3
297
299
  }
package/dist/universal.js CHANGED
@@ -479,9 +479,11 @@ var BASE_BULLMQ_CONFIG = {
479
479
  }
480
480
  },
481
481
  workerConfig: {
482
- concurrency: 200,
482
+ concurrency: 50,
483
483
  lockDuration: 9e4,
484
+ // 90 seconds lock duration for chunk processing (which can be lengthy)
484
485
  maxStalledCount: 3
486
+ // Allow mome retries for stalled jobs
485
487
  }
486
488
  },
487
489
  CREATE_ANNOS_QUEUE: {
@@ -504,7 +506,7 @@ var BASE_BULLMQ_CONFIG = {
504
506
  }
505
507
  },
506
508
  workerConfig: {
507
- concurrency: 200,
509
+ concurrency: 50,
508
510
  lockDuration: 9e4,
509
511
  maxStalledCount: 3
510
512
  }
@@ -529,7 +531,7 @@ var BASE_BULLMQ_CONFIG = {
529
531
  }
530
532
  },
531
533
  workerConfig: {
532
- concurrency: 200,
534
+ concurrency: 50,
533
535
  lockDuration: 9e4,
534
536
  maxStalledCount: 3
535
537
  }
@@ -617,7 +619,7 @@ var BASE_BULLMQ_CONFIG = {
617
619
  }
618
620
  },
619
621
  workerConfig: {
620
- concurrency: 200,
622
+ concurrency: 50,
621
623
  lockDuration: 9e4,
622
624
  maxStalledCount: 3
623
625
  }
@@ -642,7 +644,7 @@ var BASE_BULLMQ_CONFIG = {
642
644
  }
643
645
  },
644
646
  workerConfig: {
645
- concurrency: 200,
647
+ concurrency: 50,
646
648
  lockDuration: 9e4,
647
649
  maxStalledCount: 3
648
650
  }
@@ -667,7 +669,7 @@ var BASE_BULLMQ_CONFIG = {
667
669
  }
668
670
  },
669
671
  workerConfig: {
670
- concurrency: 200,
672
+ concurrency: 50,
671
673
  lockDuration: 9e4,
672
674
  maxStalledCount: 3
673
675
  }
@@ -443,9 +443,11 @@ var BASE_BULLMQ_CONFIG = {
443
443
  }
444
444
  },
445
445
  workerConfig: {
446
- concurrency: 200,
446
+ concurrency: 50,
447
447
  lockDuration: 9e4,
448
+ // 90 seconds lock duration for chunk processing (which can be lengthy)
448
449
  maxStalledCount: 3
450
+ // Allow mome retries for stalled jobs
449
451
  }
450
452
  },
451
453
  CREATE_ANNOS_QUEUE: {
@@ -468,7 +470,7 @@ var BASE_BULLMQ_CONFIG = {
468
470
  }
469
471
  },
470
472
  workerConfig: {
471
- concurrency: 200,
473
+ concurrency: 50,
472
474
  lockDuration: 9e4,
473
475
  maxStalledCount: 3
474
476
  }
@@ -493,7 +495,7 @@ var BASE_BULLMQ_CONFIG = {
493
495
  }
494
496
  },
495
497
  workerConfig: {
496
- concurrency: 200,
498
+ concurrency: 50,
497
499
  lockDuration: 9e4,
498
500
  maxStalledCount: 3
499
501
  }
@@ -581,7 +583,7 @@ var BASE_BULLMQ_CONFIG = {
581
583
  }
582
584
  },
583
585
  workerConfig: {
584
- concurrency: 200,
586
+ concurrency: 50,
585
587
  lockDuration: 9e4,
586
588
  maxStalledCount: 3
587
589
  }
@@ -606,7 +608,7 @@ var BASE_BULLMQ_CONFIG = {
606
608
  }
607
609
  },
608
610
  workerConfig: {
609
- concurrency: 200,
611
+ concurrency: 50,
610
612
  lockDuration: 9e4,
611
613
  maxStalledCount: 3
612
614
  }
@@ -631,7 +633,7 @@ var BASE_BULLMQ_CONFIG = {
631
633
  }
632
634
  },
633
635
  workerConfig: {
634
- concurrency: 200,
636
+ concurrency: 50,
635
637
  lockDuration: 9e4,
636
638
  maxStalledCount: 3
637
639
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.15.0",
6
+ "version": "1.15.1",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",