@okf/ootils 1.13.0 → 1.15.0
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.d.mts +52 -0
- package/dist/browser.d.ts +52 -0
- package/dist/browser.js +42 -9
- package/dist/browser.mjs +42 -9
- package/dist/node.d.mts +52 -0
- package/dist/node.d.ts +52 -0
- package/dist/node.js +42 -9
- package/dist/node.mjs +42 -9
- package/dist/universal.d.mts +52 -0
- package/dist/universal.d.ts +52 -0
- package/dist/universal.js +42 -9
- package/dist/universal.mjs +42 -9
- package/package.json +1 -1
package/dist/node.d.ts
CHANGED
|
@@ -287,6 +287,8 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
287
287
|
}
|
|
288
288
|
namespace workerConfig {
|
|
289
289
|
let concurrency: number;
|
|
290
|
+
let lockDuration: number;
|
|
291
|
+
let maxStalledCount: number;
|
|
290
292
|
namespace limiter {
|
|
291
293
|
let max: number;
|
|
292
294
|
let duration: number;
|
|
@@ -326,6 +328,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
326
328
|
export namespace workerConfig_1 {
|
|
327
329
|
let concurrency_1: number;
|
|
328
330
|
export { concurrency_1 as concurrency };
|
|
331
|
+
let lockDuration_1: number;
|
|
332
|
+
export { lockDuration_1 as lockDuration };
|
|
333
|
+
let maxStalledCount_1: number;
|
|
334
|
+
export { maxStalledCount_1 as maxStalledCount };
|
|
329
335
|
}
|
|
330
336
|
export { workerConfig_1 as workerConfig };
|
|
331
337
|
}
|
|
@@ -362,6 +368,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
362
368
|
export namespace workerConfig_2 {
|
|
363
369
|
let concurrency_2: number;
|
|
364
370
|
export { concurrency_2 as concurrency };
|
|
371
|
+
let lockDuration_2: number;
|
|
372
|
+
export { lockDuration_2 as lockDuration };
|
|
373
|
+
let maxStalledCount_2: number;
|
|
374
|
+
export { maxStalledCount_2 as maxStalledCount };
|
|
365
375
|
}
|
|
366
376
|
export { workerConfig_2 as workerConfig };
|
|
367
377
|
}
|
|
@@ -398,6 +408,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
398
408
|
export namespace workerConfig_3 {
|
|
399
409
|
let concurrency_3: number;
|
|
400
410
|
export { concurrency_3 as concurrency };
|
|
411
|
+
let lockDuration_3: number;
|
|
412
|
+
export { lockDuration_3 as lockDuration };
|
|
413
|
+
let maxStalledCount_3: number;
|
|
414
|
+
export { maxStalledCount_3 as maxStalledCount };
|
|
401
415
|
}
|
|
402
416
|
export { workerConfig_3 as workerConfig };
|
|
403
417
|
}
|
|
@@ -434,6 +448,17 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
434
448
|
export namespace workerConfig_4 {
|
|
435
449
|
let concurrency_4: number;
|
|
436
450
|
export { concurrency_4 as concurrency };
|
|
451
|
+
let lockDuration_4: number;
|
|
452
|
+
export { lockDuration_4 as lockDuration };
|
|
453
|
+
let maxStalledCount_4: number;
|
|
454
|
+
export { maxStalledCount_4 as maxStalledCount };
|
|
455
|
+
export namespace limiter_1 {
|
|
456
|
+
let max_1: number;
|
|
457
|
+
export { max_1 as max };
|
|
458
|
+
let duration_1: number;
|
|
459
|
+
export { duration_1 as duration };
|
|
460
|
+
}
|
|
461
|
+
export { limiter_1 as limiter };
|
|
437
462
|
}
|
|
438
463
|
export { workerConfig_4 as workerConfig };
|
|
439
464
|
}
|
|
@@ -470,6 +495,17 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
470
495
|
export namespace workerConfig_5 {
|
|
471
496
|
let concurrency_5: number;
|
|
472
497
|
export { concurrency_5 as concurrency };
|
|
498
|
+
let lockDuration_5: number;
|
|
499
|
+
export { lockDuration_5 as lockDuration };
|
|
500
|
+
let maxStalledCount_5: number;
|
|
501
|
+
export { maxStalledCount_5 as maxStalledCount };
|
|
502
|
+
export namespace limiter_2 {
|
|
503
|
+
let max_2: number;
|
|
504
|
+
export { max_2 as max };
|
|
505
|
+
let duration_2: number;
|
|
506
|
+
export { duration_2 as duration };
|
|
507
|
+
}
|
|
508
|
+
export { limiter_2 as limiter };
|
|
473
509
|
}
|
|
474
510
|
export { workerConfig_5 as workerConfig };
|
|
475
511
|
}
|
|
@@ -506,6 +542,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
506
542
|
export namespace workerConfig_6 {
|
|
507
543
|
let concurrency_6: number;
|
|
508
544
|
export { concurrency_6 as concurrency };
|
|
545
|
+
let lockDuration_6: number;
|
|
546
|
+
export { lockDuration_6 as lockDuration };
|
|
547
|
+
let maxStalledCount_6: number;
|
|
548
|
+
export { maxStalledCount_6 as maxStalledCount };
|
|
509
549
|
}
|
|
510
550
|
export { workerConfig_6 as workerConfig };
|
|
511
551
|
}
|
|
@@ -542,6 +582,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
542
582
|
export namespace workerConfig_7 {
|
|
543
583
|
let concurrency_7: number;
|
|
544
584
|
export { concurrency_7 as concurrency };
|
|
585
|
+
let lockDuration_7: number;
|
|
586
|
+
export { lockDuration_7 as lockDuration };
|
|
587
|
+
let maxStalledCount_7: number;
|
|
588
|
+
export { maxStalledCount_7 as maxStalledCount };
|
|
545
589
|
}
|
|
546
590
|
export { workerConfig_7 as workerConfig };
|
|
547
591
|
}
|
|
@@ -578,6 +622,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
578
622
|
export namespace workerConfig_8 {
|
|
579
623
|
let concurrency_8: number;
|
|
580
624
|
export { concurrency_8 as concurrency };
|
|
625
|
+
let lockDuration_8: number;
|
|
626
|
+
export { lockDuration_8 as lockDuration };
|
|
627
|
+
let maxStalledCount_8: number;
|
|
628
|
+
export { maxStalledCount_8 as maxStalledCount };
|
|
581
629
|
}
|
|
582
630
|
export { workerConfig_8 as workerConfig };
|
|
583
631
|
}
|
|
@@ -616,6 +664,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
616
664
|
export namespace workerConfig_9 {
|
|
617
665
|
let concurrency_9: number;
|
|
618
666
|
export { concurrency_9 as concurrency };
|
|
667
|
+
let lockDuration_9: number;
|
|
668
|
+
export { lockDuration_9 as lockDuration };
|
|
669
|
+
let maxStalledCount_9: number;
|
|
670
|
+
export { maxStalledCount_9 as maxStalledCount };
|
|
619
671
|
}
|
|
620
672
|
export { workerConfig_9 as workerConfig };
|
|
621
673
|
}
|
package/dist/node.js
CHANGED
|
@@ -67,6 +67,8 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
67
67
|
workerConfig: {
|
|
68
68
|
concurrency: 1,
|
|
69
69
|
// Process jobs one at a time to avoid race conditions
|
|
70
|
+
lockDuration: 9e4,
|
|
71
|
+
maxStalledCount: 3,
|
|
70
72
|
limiter: {
|
|
71
73
|
max: 5,
|
|
72
74
|
// Max 10 jobs per...
|
|
@@ -96,7 +98,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
96
98
|
}
|
|
97
99
|
},
|
|
98
100
|
workerConfig: {
|
|
99
|
-
concurrency: 200
|
|
101
|
+
concurrency: 200,
|
|
102
|
+
lockDuration: 9e4,
|
|
103
|
+
maxStalledCount: 3
|
|
100
104
|
}
|
|
101
105
|
},
|
|
102
106
|
CREATE_ANNOS_QUEUE: {
|
|
@@ -119,7 +123,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
119
123
|
}
|
|
120
124
|
},
|
|
121
125
|
workerConfig: {
|
|
122
|
-
concurrency: 200
|
|
126
|
+
concurrency: 200,
|
|
127
|
+
lockDuration: 9e4,
|
|
128
|
+
maxStalledCount: 3
|
|
123
129
|
}
|
|
124
130
|
},
|
|
125
131
|
CONTENT_ENHANCE_AND_EMBED_QUEUE: {
|
|
@@ -142,7 +148,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
142
148
|
}
|
|
143
149
|
},
|
|
144
150
|
workerConfig: {
|
|
145
|
-
concurrency: 200
|
|
151
|
+
concurrency: 200,
|
|
152
|
+
lockDuration: 9e4,
|
|
153
|
+
maxStalledCount: 3
|
|
146
154
|
}
|
|
147
155
|
},
|
|
148
156
|
DIRECT_DATA_IMPORT_QUEUE: {
|
|
@@ -165,7 +173,16 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
165
173
|
}
|
|
166
174
|
},
|
|
167
175
|
workerConfig: {
|
|
168
|
-
concurrency: 1
|
|
176
|
+
concurrency: 1,
|
|
177
|
+
// Cannot mess with this else duplicate options in tpl, maybe even duplicate tags
|
|
178
|
+
lockDuration: 9e4,
|
|
179
|
+
maxStalledCount: 3,
|
|
180
|
+
limiter: {
|
|
181
|
+
max: 20,
|
|
182
|
+
// Max 5 jobs per...
|
|
183
|
+
duration: 6e4
|
|
184
|
+
// ...60 seconds (higher throughput for chunking)
|
|
185
|
+
}
|
|
169
186
|
}
|
|
170
187
|
},
|
|
171
188
|
AI_CATEGORIZE_QUEUE: {
|
|
@@ -188,7 +205,15 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
188
205
|
}
|
|
189
206
|
},
|
|
190
207
|
workerConfig: {
|
|
191
|
-
concurrency:
|
|
208
|
+
concurrency: 1,
|
|
209
|
+
lockDuration: 9e4,
|
|
210
|
+
maxStalledCount: 3,
|
|
211
|
+
limiter: {
|
|
212
|
+
max: 100,
|
|
213
|
+
// (lets always keep this same as content enhance & embed since it comes immediately after)
|
|
214
|
+
duration: 6e4
|
|
215
|
+
// ...60 seconds (higher throughput for chunking)
|
|
216
|
+
}
|
|
192
217
|
}
|
|
193
218
|
},
|
|
194
219
|
ANNOS_ELASTIC_SYNC_QUEUE: {
|
|
@@ -211,7 +236,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
211
236
|
}
|
|
212
237
|
},
|
|
213
238
|
workerConfig: {
|
|
214
|
-
concurrency: 200
|
|
239
|
+
concurrency: 200,
|
|
240
|
+
lockDuration: 9e4,
|
|
241
|
+
maxStalledCount: 3
|
|
215
242
|
}
|
|
216
243
|
},
|
|
217
244
|
CHUNKS_ELASTIC_SYNC_QUEUE: {
|
|
@@ -234,7 +261,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
234
261
|
}
|
|
235
262
|
},
|
|
236
263
|
workerConfig: {
|
|
237
|
-
concurrency: 200
|
|
264
|
+
concurrency: 200,
|
|
265
|
+
lockDuration: 9e4,
|
|
266
|
+
maxStalledCount: 3
|
|
238
267
|
}
|
|
239
268
|
},
|
|
240
269
|
CONTENT_ELASTIC_SYNC_QUEUE: {
|
|
@@ -257,7 +286,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
257
286
|
}
|
|
258
287
|
},
|
|
259
288
|
workerConfig: {
|
|
260
|
-
concurrency: 200
|
|
289
|
+
concurrency: 200,
|
|
290
|
+
lockDuration: 9e4,
|
|
291
|
+
maxStalledCount: 3
|
|
261
292
|
}
|
|
262
293
|
},
|
|
263
294
|
REINDEX_QUEUE: {
|
|
@@ -281,7 +312,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
281
312
|
}
|
|
282
313
|
},
|
|
283
314
|
workerConfig: {
|
|
284
|
-
concurrency: 1
|
|
315
|
+
concurrency: 1,
|
|
316
|
+
lockDuration: 9e4,
|
|
317
|
+
maxStalledCount: 3
|
|
285
318
|
}
|
|
286
319
|
}
|
|
287
320
|
};
|
package/dist/node.mjs
CHANGED
|
@@ -72,6 +72,8 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
72
72
|
workerConfig: {
|
|
73
73
|
concurrency: 1,
|
|
74
74
|
// Process jobs one at a time to avoid race conditions
|
|
75
|
+
lockDuration: 9e4,
|
|
76
|
+
maxStalledCount: 3,
|
|
75
77
|
limiter: {
|
|
76
78
|
max: 5,
|
|
77
79
|
// Max 10 jobs per...
|
|
@@ -101,7 +103,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
101
103
|
}
|
|
102
104
|
},
|
|
103
105
|
workerConfig: {
|
|
104
|
-
concurrency: 200
|
|
106
|
+
concurrency: 200,
|
|
107
|
+
lockDuration: 9e4,
|
|
108
|
+
maxStalledCount: 3
|
|
105
109
|
}
|
|
106
110
|
},
|
|
107
111
|
CREATE_ANNOS_QUEUE: {
|
|
@@ -124,7 +128,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
124
128
|
}
|
|
125
129
|
},
|
|
126
130
|
workerConfig: {
|
|
127
|
-
concurrency: 200
|
|
131
|
+
concurrency: 200,
|
|
132
|
+
lockDuration: 9e4,
|
|
133
|
+
maxStalledCount: 3
|
|
128
134
|
}
|
|
129
135
|
},
|
|
130
136
|
CONTENT_ENHANCE_AND_EMBED_QUEUE: {
|
|
@@ -147,7 +153,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
147
153
|
}
|
|
148
154
|
},
|
|
149
155
|
workerConfig: {
|
|
150
|
-
concurrency: 200
|
|
156
|
+
concurrency: 200,
|
|
157
|
+
lockDuration: 9e4,
|
|
158
|
+
maxStalledCount: 3
|
|
151
159
|
}
|
|
152
160
|
},
|
|
153
161
|
DIRECT_DATA_IMPORT_QUEUE: {
|
|
@@ -170,7 +178,16 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
170
178
|
}
|
|
171
179
|
},
|
|
172
180
|
workerConfig: {
|
|
173
|
-
concurrency: 1
|
|
181
|
+
concurrency: 1,
|
|
182
|
+
// Cannot mess with this else duplicate options in tpl, maybe even duplicate tags
|
|
183
|
+
lockDuration: 9e4,
|
|
184
|
+
maxStalledCount: 3,
|
|
185
|
+
limiter: {
|
|
186
|
+
max: 20,
|
|
187
|
+
// Max 5 jobs per...
|
|
188
|
+
duration: 6e4
|
|
189
|
+
// ...60 seconds (higher throughput for chunking)
|
|
190
|
+
}
|
|
174
191
|
}
|
|
175
192
|
},
|
|
176
193
|
AI_CATEGORIZE_QUEUE: {
|
|
@@ -193,7 +210,15 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
193
210
|
}
|
|
194
211
|
},
|
|
195
212
|
workerConfig: {
|
|
196
|
-
concurrency:
|
|
213
|
+
concurrency: 1,
|
|
214
|
+
lockDuration: 9e4,
|
|
215
|
+
maxStalledCount: 3,
|
|
216
|
+
limiter: {
|
|
217
|
+
max: 100,
|
|
218
|
+
// (lets always keep this same as content enhance & embed since it comes immediately after)
|
|
219
|
+
duration: 6e4
|
|
220
|
+
// ...60 seconds (higher throughput for chunking)
|
|
221
|
+
}
|
|
197
222
|
}
|
|
198
223
|
},
|
|
199
224
|
ANNOS_ELASTIC_SYNC_QUEUE: {
|
|
@@ -216,7 +241,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
216
241
|
}
|
|
217
242
|
},
|
|
218
243
|
workerConfig: {
|
|
219
|
-
concurrency: 200
|
|
244
|
+
concurrency: 200,
|
|
245
|
+
lockDuration: 9e4,
|
|
246
|
+
maxStalledCount: 3
|
|
220
247
|
}
|
|
221
248
|
},
|
|
222
249
|
CHUNKS_ELASTIC_SYNC_QUEUE: {
|
|
@@ -239,7 +266,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
239
266
|
}
|
|
240
267
|
},
|
|
241
268
|
workerConfig: {
|
|
242
|
-
concurrency: 200
|
|
269
|
+
concurrency: 200,
|
|
270
|
+
lockDuration: 9e4,
|
|
271
|
+
maxStalledCount: 3
|
|
243
272
|
}
|
|
244
273
|
},
|
|
245
274
|
CONTENT_ELASTIC_SYNC_QUEUE: {
|
|
@@ -262,7 +291,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
262
291
|
}
|
|
263
292
|
},
|
|
264
293
|
workerConfig: {
|
|
265
|
-
concurrency: 200
|
|
294
|
+
concurrency: 200,
|
|
295
|
+
lockDuration: 9e4,
|
|
296
|
+
maxStalledCount: 3
|
|
266
297
|
}
|
|
267
298
|
},
|
|
268
299
|
REINDEX_QUEUE: {
|
|
@@ -286,7 +317,9 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
286
317
|
}
|
|
287
318
|
},
|
|
288
319
|
workerConfig: {
|
|
289
|
-
concurrency: 1
|
|
320
|
+
concurrency: 1,
|
|
321
|
+
lockDuration: 9e4,
|
|
322
|
+
maxStalledCount: 3
|
|
290
323
|
}
|
|
291
324
|
}
|
|
292
325
|
};
|
package/dist/universal.d.mts
CHANGED
|
@@ -280,6 +280,8 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
280
280
|
}
|
|
281
281
|
namespace workerConfig {
|
|
282
282
|
let concurrency: number;
|
|
283
|
+
let lockDuration: number;
|
|
284
|
+
let maxStalledCount: number;
|
|
283
285
|
namespace limiter {
|
|
284
286
|
let max: number;
|
|
285
287
|
let duration: number;
|
|
@@ -319,6 +321,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
319
321
|
export namespace workerConfig_1 {
|
|
320
322
|
let concurrency_1: number;
|
|
321
323
|
export { concurrency_1 as concurrency };
|
|
324
|
+
let lockDuration_1: number;
|
|
325
|
+
export { lockDuration_1 as lockDuration };
|
|
326
|
+
let maxStalledCount_1: number;
|
|
327
|
+
export { maxStalledCount_1 as maxStalledCount };
|
|
322
328
|
}
|
|
323
329
|
export { workerConfig_1 as workerConfig };
|
|
324
330
|
}
|
|
@@ -355,6 +361,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
355
361
|
export namespace workerConfig_2 {
|
|
356
362
|
let concurrency_2: number;
|
|
357
363
|
export { concurrency_2 as concurrency };
|
|
364
|
+
let lockDuration_2: number;
|
|
365
|
+
export { lockDuration_2 as lockDuration };
|
|
366
|
+
let maxStalledCount_2: number;
|
|
367
|
+
export { maxStalledCount_2 as maxStalledCount };
|
|
358
368
|
}
|
|
359
369
|
export { workerConfig_2 as workerConfig };
|
|
360
370
|
}
|
|
@@ -391,6 +401,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
391
401
|
export namespace workerConfig_3 {
|
|
392
402
|
let concurrency_3: number;
|
|
393
403
|
export { concurrency_3 as concurrency };
|
|
404
|
+
let lockDuration_3: number;
|
|
405
|
+
export { lockDuration_3 as lockDuration };
|
|
406
|
+
let maxStalledCount_3: number;
|
|
407
|
+
export { maxStalledCount_3 as maxStalledCount };
|
|
394
408
|
}
|
|
395
409
|
export { workerConfig_3 as workerConfig };
|
|
396
410
|
}
|
|
@@ -427,6 +441,17 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
427
441
|
export namespace workerConfig_4 {
|
|
428
442
|
let concurrency_4: number;
|
|
429
443
|
export { concurrency_4 as concurrency };
|
|
444
|
+
let lockDuration_4: number;
|
|
445
|
+
export { lockDuration_4 as lockDuration };
|
|
446
|
+
let maxStalledCount_4: number;
|
|
447
|
+
export { maxStalledCount_4 as maxStalledCount };
|
|
448
|
+
export namespace limiter_1 {
|
|
449
|
+
let max_1: number;
|
|
450
|
+
export { max_1 as max };
|
|
451
|
+
let duration_1: number;
|
|
452
|
+
export { duration_1 as duration };
|
|
453
|
+
}
|
|
454
|
+
export { limiter_1 as limiter };
|
|
430
455
|
}
|
|
431
456
|
export { workerConfig_4 as workerConfig };
|
|
432
457
|
}
|
|
@@ -463,6 +488,17 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
463
488
|
export namespace workerConfig_5 {
|
|
464
489
|
let concurrency_5: number;
|
|
465
490
|
export { concurrency_5 as concurrency };
|
|
491
|
+
let lockDuration_5: number;
|
|
492
|
+
export { lockDuration_5 as lockDuration };
|
|
493
|
+
let maxStalledCount_5: number;
|
|
494
|
+
export { maxStalledCount_5 as maxStalledCount };
|
|
495
|
+
export namespace limiter_2 {
|
|
496
|
+
let max_2: number;
|
|
497
|
+
export { max_2 as max };
|
|
498
|
+
let duration_2: number;
|
|
499
|
+
export { duration_2 as duration };
|
|
500
|
+
}
|
|
501
|
+
export { limiter_2 as limiter };
|
|
466
502
|
}
|
|
467
503
|
export { workerConfig_5 as workerConfig };
|
|
468
504
|
}
|
|
@@ -499,6 +535,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
499
535
|
export namespace workerConfig_6 {
|
|
500
536
|
let concurrency_6: number;
|
|
501
537
|
export { concurrency_6 as concurrency };
|
|
538
|
+
let lockDuration_6: number;
|
|
539
|
+
export { lockDuration_6 as lockDuration };
|
|
540
|
+
let maxStalledCount_6: number;
|
|
541
|
+
export { maxStalledCount_6 as maxStalledCount };
|
|
502
542
|
}
|
|
503
543
|
export { workerConfig_6 as workerConfig };
|
|
504
544
|
}
|
|
@@ -535,6 +575,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
535
575
|
export namespace workerConfig_7 {
|
|
536
576
|
let concurrency_7: number;
|
|
537
577
|
export { concurrency_7 as concurrency };
|
|
578
|
+
let lockDuration_7: number;
|
|
579
|
+
export { lockDuration_7 as lockDuration };
|
|
580
|
+
let maxStalledCount_7: number;
|
|
581
|
+
export { maxStalledCount_7 as maxStalledCount };
|
|
538
582
|
}
|
|
539
583
|
export { workerConfig_7 as workerConfig };
|
|
540
584
|
}
|
|
@@ -571,6 +615,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
571
615
|
export namespace workerConfig_8 {
|
|
572
616
|
let concurrency_8: number;
|
|
573
617
|
export { concurrency_8 as concurrency };
|
|
618
|
+
let lockDuration_8: number;
|
|
619
|
+
export { lockDuration_8 as lockDuration };
|
|
620
|
+
let maxStalledCount_8: number;
|
|
621
|
+
export { maxStalledCount_8 as maxStalledCount };
|
|
574
622
|
}
|
|
575
623
|
export { workerConfig_8 as workerConfig };
|
|
576
624
|
}
|
|
@@ -609,6 +657,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
609
657
|
export namespace workerConfig_9 {
|
|
610
658
|
let concurrency_9: number;
|
|
611
659
|
export { concurrency_9 as concurrency };
|
|
660
|
+
let lockDuration_9: number;
|
|
661
|
+
export { lockDuration_9 as lockDuration };
|
|
662
|
+
let maxStalledCount_9: number;
|
|
663
|
+
export { maxStalledCount_9 as maxStalledCount };
|
|
612
664
|
}
|
|
613
665
|
export { workerConfig_9 as workerConfig };
|
|
614
666
|
}
|
package/dist/universal.d.ts
CHANGED
|
@@ -280,6 +280,8 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
280
280
|
}
|
|
281
281
|
namespace workerConfig {
|
|
282
282
|
let concurrency: number;
|
|
283
|
+
let lockDuration: number;
|
|
284
|
+
let maxStalledCount: number;
|
|
283
285
|
namespace limiter {
|
|
284
286
|
let max: number;
|
|
285
287
|
let duration: number;
|
|
@@ -319,6 +321,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
319
321
|
export namespace workerConfig_1 {
|
|
320
322
|
let concurrency_1: number;
|
|
321
323
|
export { concurrency_1 as concurrency };
|
|
324
|
+
let lockDuration_1: number;
|
|
325
|
+
export { lockDuration_1 as lockDuration };
|
|
326
|
+
let maxStalledCount_1: number;
|
|
327
|
+
export { maxStalledCount_1 as maxStalledCount };
|
|
322
328
|
}
|
|
323
329
|
export { workerConfig_1 as workerConfig };
|
|
324
330
|
}
|
|
@@ -355,6 +361,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
355
361
|
export namespace workerConfig_2 {
|
|
356
362
|
let concurrency_2: number;
|
|
357
363
|
export { concurrency_2 as concurrency };
|
|
364
|
+
let lockDuration_2: number;
|
|
365
|
+
export { lockDuration_2 as lockDuration };
|
|
366
|
+
let maxStalledCount_2: number;
|
|
367
|
+
export { maxStalledCount_2 as maxStalledCount };
|
|
358
368
|
}
|
|
359
369
|
export { workerConfig_2 as workerConfig };
|
|
360
370
|
}
|
|
@@ -391,6 +401,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
391
401
|
export namespace workerConfig_3 {
|
|
392
402
|
let concurrency_3: number;
|
|
393
403
|
export { concurrency_3 as concurrency };
|
|
404
|
+
let lockDuration_3: number;
|
|
405
|
+
export { lockDuration_3 as lockDuration };
|
|
406
|
+
let maxStalledCount_3: number;
|
|
407
|
+
export { maxStalledCount_3 as maxStalledCount };
|
|
394
408
|
}
|
|
395
409
|
export { workerConfig_3 as workerConfig };
|
|
396
410
|
}
|
|
@@ -427,6 +441,17 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
427
441
|
export namespace workerConfig_4 {
|
|
428
442
|
let concurrency_4: number;
|
|
429
443
|
export { concurrency_4 as concurrency };
|
|
444
|
+
let lockDuration_4: number;
|
|
445
|
+
export { lockDuration_4 as lockDuration };
|
|
446
|
+
let maxStalledCount_4: number;
|
|
447
|
+
export { maxStalledCount_4 as maxStalledCount };
|
|
448
|
+
export namespace limiter_1 {
|
|
449
|
+
let max_1: number;
|
|
450
|
+
export { max_1 as max };
|
|
451
|
+
let duration_1: number;
|
|
452
|
+
export { duration_1 as duration };
|
|
453
|
+
}
|
|
454
|
+
export { limiter_1 as limiter };
|
|
430
455
|
}
|
|
431
456
|
export { workerConfig_4 as workerConfig };
|
|
432
457
|
}
|
|
@@ -463,6 +488,17 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
463
488
|
export namespace workerConfig_5 {
|
|
464
489
|
let concurrency_5: number;
|
|
465
490
|
export { concurrency_5 as concurrency };
|
|
491
|
+
let lockDuration_5: number;
|
|
492
|
+
export { lockDuration_5 as lockDuration };
|
|
493
|
+
let maxStalledCount_5: number;
|
|
494
|
+
export { maxStalledCount_5 as maxStalledCount };
|
|
495
|
+
export namespace limiter_2 {
|
|
496
|
+
let max_2: number;
|
|
497
|
+
export { max_2 as max };
|
|
498
|
+
let duration_2: number;
|
|
499
|
+
export { duration_2 as duration };
|
|
500
|
+
}
|
|
501
|
+
export { limiter_2 as limiter };
|
|
466
502
|
}
|
|
467
503
|
export { workerConfig_5 as workerConfig };
|
|
468
504
|
}
|
|
@@ -499,6 +535,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
499
535
|
export namespace workerConfig_6 {
|
|
500
536
|
let concurrency_6: number;
|
|
501
537
|
export { concurrency_6 as concurrency };
|
|
538
|
+
let lockDuration_6: number;
|
|
539
|
+
export { lockDuration_6 as lockDuration };
|
|
540
|
+
let maxStalledCount_6: number;
|
|
541
|
+
export { maxStalledCount_6 as maxStalledCount };
|
|
502
542
|
}
|
|
503
543
|
export { workerConfig_6 as workerConfig };
|
|
504
544
|
}
|
|
@@ -535,6 +575,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
535
575
|
export namespace workerConfig_7 {
|
|
536
576
|
let concurrency_7: number;
|
|
537
577
|
export { concurrency_7 as concurrency };
|
|
578
|
+
let lockDuration_7: number;
|
|
579
|
+
export { lockDuration_7 as lockDuration };
|
|
580
|
+
let maxStalledCount_7: number;
|
|
581
|
+
export { maxStalledCount_7 as maxStalledCount };
|
|
538
582
|
}
|
|
539
583
|
export { workerConfig_7 as workerConfig };
|
|
540
584
|
}
|
|
@@ -571,6 +615,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
571
615
|
export namespace workerConfig_8 {
|
|
572
616
|
let concurrency_8: number;
|
|
573
617
|
export { concurrency_8 as concurrency };
|
|
618
|
+
let lockDuration_8: number;
|
|
619
|
+
export { lockDuration_8 as lockDuration };
|
|
620
|
+
let maxStalledCount_8: number;
|
|
621
|
+
export { maxStalledCount_8 as maxStalledCount };
|
|
574
622
|
}
|
|
575
623
|
export { workerConfig_8 as workerConfig };
|
|
576
624
|
}
|
|
@@ -609,6 +657,10 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
609
657
|
export namespace workerConfig_9 {
|
|
610
658
|
let concurrency_9: number;
|
|
611
659
|
export { concurrency_9 as concurrency };
|
|
660
|
+
let lockDuration_9: number;
|
|
661
|
+
export { lockDuration_9 as lockDuration };
|
|
662
|
+
let maxStalledCount_9: number;
|
|
663
|
+
export { maxStalledCount_9 as maxStalledCount };
|
|
612
664
|
}
|
|
613
665
|
export { workerConfig_9 as workerConfig };
|
|
614
666
|
}
|