Hi there. We are having some issues getting flow c...
# ask-community
p
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
👀 1
c
Hi Pedro! Thanks for the detailed analysis - there is a chance this is a bug; could you spin up two Docker agents, one with the
restricted
label and one with the
unrestricted
label and let me know if the behavior is any different?
Update for you: I believe this is actually an easy-to-fix bug in which the concurrency restriction on one label was preventing any other work from being released to that agent; I’ve already got a fix in the works that we can get released within the hour 👍
🙌 1
p
Great! We can test tomorrow. Just let me know.
c
The fix has been released - let me know if it resolved the issue whenever is convenient