Hi there. We are having some issues getting flow concurrency limits to work in our set up. This is what we have:
• Single docker agent started with two labels:
restricted
and
unrestricted
• The
restricted
label in Prefect Cloud has a concurrency limit of 1
• The
unrestricted
label does not have any concurrency limits
• Some flows have the
restricted
label and the rest have the
unrestricted
label
• The idea is to be able to run at most one
restricted
flow at a time and allow the
unrestricted
flows to use all available slots (we have 2 slots at the moment)
The concurrency limit is working. Only one
restricted
flow runs at a time. The problem is that
unrestricted
flows don't start while there is a
restricted
flow running.
Any ideas? Could you help troubleshoot?
edit: if we start the
unrestricted
flow first and the
restricted
flow second both run, but if the
restricted
flow starts first the other doesn't run