feat(worker): replace aggregate asynq concurrency with per-pool governance
Split the monolithic upstream worker budget into explicit core, post-process, enrichment, maintenance, and shared elastic pools, expose live cluster capacity on the runtime dashboard, and retire the legacy asynq.concurrency setting.
This commit is contained in:
@@ -79,7 +79,7 @@ const (
|
||||
// wikiInflightPrefix keys the per-KB slot set: wiki:inflight:{kbID}.
|
||||
wikiInflightPrefix = "wiki:inflight:"
|
||||
// wikiInflightDefault is the fallback cap when WikiConfig.IngestMaxInflight
|
||||
// is unset. 4 leaves headroom in a default 16-worker wiki pool for other
|
||||
// is unset. 4 leaves half of the default 8-worker wiki pool for other
|
||||
// KBs while still giving one KB solid parallelism.
|
||||
wikiInflightDefault = 4
|
||||
// wikiInflightTTL is how long a reserved slot survives without renewal.
|
||||
|
||||
Reference in New Issue
Block a user