Skip to main content

Configure a process path's work pool (feed mode and WIP limit)

PUT 

/paths/:pathId/pool

The ConfigurePool command (ADR-0034): sets the pool's feed mode (ReleaseFed or FlowFed) and its WIP limit, creating the pool when none exists yet. This is the only way to obtain a flow-fed pool; a path nobody configured keeps the fallback EnqueueWorkUnit seeds on first enqueue (ReleaseFed, WIP limit 1000).

Idempotent. PUT fully describes the desired configuration: the same body always yields the same result, and an identical repeat writes nothing. The alarm threshold and the pool's entries are not part of this command and are never touched.

Lowering a limit never evicts work. If the new wipLimit is below the current wip, nothing is cancelled or taken back: the pool is simply saturated and POST /paths/{pathId}/work-releases answers 409 wip-limit-reached until completions bring wip strictly below the new limit. Raising the limit takes effect on the next release. The response reports the live wip so the caller can see the overshoot. On a FlowFed pool the limit is stored but not enforced (flow-fed pools only alarm, see ADR-0003).

Raises no event. REST only: no MCP tool exposes this command.

Request​

Responses​

The pool as configured, with its live occupancy.