Riya Sinha
02/11/2025, 11:44 AMMarvin
02/11/2025, 11:44 AMflow.serve()
with a limit
parameter set to 10, it sets a concurrency limit on the number of flow runs that can be executed simultaneously. If more than 10 flow runs are submitted, those above the limit will be queued and will wait until a running flow completes before starting. This ensures that no more than 10 flow runs are active at any given time.
Concurrency limits can be configured at different levels such as work pools, work queues, or deployments. For more details, you can refer to the Prefect documentation on concurrency limits.
If you want to learn more about the flow.serve()
function and its parameters, you can explore the Prefect API documentation.