aglio-worker 0.88.1 → 0.88.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/agent.js +3 -2
- package/package.json +1 -1
package/agent.js
CHANGED
|
@@ -70330,10 +70330,11 @@ var PLAN_LIST = PLAN_IDS.map((id) => PLAN_CATALOG[id]);
|
|
|
70330
70330
|
|
|
70331
70331
|
// ../../packages/shared/src/worker-capacity.ts
|
|
70332
70332
|
var WORKER_DEFAULT_CAPACITY = 1;
|
|
70333
|
-
var
|
|
70333
|
+
var WORKER_PRESET_MAX_CAPACITY = 8;
|
|
70334
|
+
var WORKER_MAX_CAPACITY = 32;
|
|
70334
70335
|
var WORKER_MIN_CAPACITY = 1;
|
|
70335
70336
|
var WORKER_CAPACITY_OPTIONS = Array.from(
|
|
70336
|
-
{ length:
|
|
70337
|
+
{ length: WORKER_PRESET_MAX_CAPACITY },
|
|
70337
70338
|
(_2, index3) => index3 + 1
|
|
70338
70339
|
);
|
|
70339
70340
|
function workerCapacity(input2, fallback = WORKER_DEFAULT_CAPACITY) {
|