Scott Pedersen
10/01/2025, 4:43 AMMarvin
10/01/2025, 4:43 AMMarvin
10/01/2025, 4:48 AMprefect work-queue set-concurrency-limit <queue-name> 1 --pool <pool-name>
- Create a queue with a limit:
prefect work-queue create <queue-name> --pool <pool-name> --limit 1
- Pool-wide limit (optional, broader scope):
prefect work-pool set-concurrency-limit <pool-name> 1
Docs for more detail:
- CLI: work-queue
- CLI: work-pool
- How-to: concurrency limits
Questions to tailor the setup:
- Are you on Prefect Cloud or OSS?
- Is this deployment sharing a work queue with other deployments, or can you give it a dedicated queue?Scott Pedersen
10/01/2025, 5:08 AMMarvin
10/01/2025, 5:08 AMMarvin
10/01/2025, 5:09 AM