releaseHeldTasks
releaseHeldTasks(
deps,cfg,now,maxPerTick?):Promise<{released:number; }>
Defined in: src/held-release.ts:26
Releases held tasks FIFO when usage has dropped below holdPct. Bounded per call.
When cfg.enabled is false the threshold is ignored and held tasks are released
unconditionally — the operator turned the gate off, so nothing should remain blocked.
Parameters
Section titled “Parameters”enabled
Section titled “enabled”boolean
holdPct
Section titled “holdPct”number
number
maxPerTick?
Section titled “maxPerTick?”number = 3
Returns
Section titled “Returns”Promise<{ released: number; }>