https://prefect.io logo
Title
i

Igor Kotua

10/03/2022, 1:48 PM
Hello, I see there is way to limit concurrency for a task using tags. But what about flows? How to make sure the same flow (or the same deployment) does not run concurrently?
1
j

Jeff Hale

10/03/2022, 1:58 PM
On Prefect 2, you can set a concurrency limit at the Work Queue level from the CLI or the GUI. If just one deployment is using a Work Queue with a concurrency limit of 1 would that accomplish your goal?
i

Igor Kotua

10/03/2022, 2:06 PM
Yep, that would achieve a goal, I am just using one queue for all tasks
Thanks!
But still adding tags to flows and deployments would make sense I believe
:thank-you: 1