Hi! How to allow flow run only once in same time? ...
# prefect-ui
r
Hi! How to allow flow run only once in same time? I try to configure flow cncurrency, I gave label to flow, but anyway it is possibly to execute it many times in parallel
k
Hey @Ruslan, you want a flow to have a maximum concurrency of 1? How did you configure it?
r
what is the best way?
k
On Cloud, you would set it in the Flow Concurrency tab. Flow Concurrency works based on labels.
r
thank you Kevin yes now works hm… i’m sure that was moment when anyway flow runs many time in parallel.. so if I have got 100+ flows I have to configure label and flow concurrency for each??
k
I think so, and I think you could make a while loop that hits the GraphQL API to set this, but you only need it on flows in danger of running concurrently. You shouldn’t need this for flows that don’t have very frequent schedules.