Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Pausing Work

A pause stops new claims. In-flight jobs run to completion.

ScopeFunctionEffect
QueuesetQueuePausedevery pool stops claiming from the queue
PoolsetWorkerPausedone pool stops claiming
JobsuspendJob, resumeJobone job stays invisible until resumed
SubtreepauseChildren, resumeChildrenevery claimable job below a job, at any depth

pauseChildren skips in-flight jobs and jobs in a delay or backoff. resumeChildren leaves a finalizer suspended while its children are queued.

LISTEN/NOTIFY delivers a pause at once. Without a listener, each pool reads the pause state at its next worker heartbeat. Details: Wakeups.

The REST API and admin UI expose the same controls.