Jared Robbins
03/21/2022, 3:10 PMKevin Kho
03/21/2022, 3:26 PMAnna Geller
03/21/2022, 3:48 PMprefect 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
Jared Robbins
03/21/2022, 3:51 PMKevin Kho
03/21/2022, 4:40 PMJared Robbins
03/21/2022, 5:20 PM