Jared Robbins
03/21/2022, 3:10 PMKevin Kho
Anna Geller
prefect concurrency-limit
command, you can set task-level concurrency limits.
2# The alternative to task-level concurrency limits are work-queue concurrency limits which allow you to set limits on a deployment level - this seems to be exactly what you want! To create that, you can create a work-queue for a specific deployment UUID:
prefect work-queue create -d 'uuid' test_queue
this will return WORK_QUEUE_ID which you can use to set a limit for that to 1:
prefect work-queue set-concurrency-limit WORK_QUEUE_ID 1
Anna Geller
Jared Robbins
03/21/2022, 3:51 PMJared Robbins
03/21/2022, 4:37 PMJared Robbins
03/21/2022, 4:38 PMKevin Kho
Jared Robbins
03/21/2022, 5:20 PM