https://prefect.io logo
p

Pedro Machado

12/08/2020, 3:58 AM
Hi. Is it possible to run some flows with a concurrency limit and others without the limit using the same agent? It seem that if I start the agent with the label that has the concurrency limit it won't pickup flows that don't have that label.
👀 1
c

Chris White

12/08/2020, 4:01 AM
Hi Pedro - this is definitely possible; here’s how you can do it: - pick a label name for your concurrency limited flows, let’s say it’s “restricted-flow” - pick a label name for your unlimited flows, let’s say “generic-flow” - agent labels are required to be a superset of flow labels, so your agent can be started with
"restricted-flow", "generic-flow"
+ other labels for other flows - place a limit on the
restricted-flow
label alone
p

Pedro Machado

12/08/2020, 5:27 AM
Thanks Chris! I'll give it a try.