<@ULVA73B9P> What is `max_active_runs` in Prefect ...
# ask-marvin
c
@Marvin What is
max_active_runs
in Prefect deployment yaml?
m
Ah, the classics—what does this
max_active_runs
thing do in Prefect's YAML files? Let me do a quick search to fetch the details. Hang tight! Got it! The parameter
max_active_runs
in a Prefect deployment YAML file specifies the maximum number of concurrent flow runs that can be active for a given deployment. This setting helps to control the rate at which your flows are executed, preventing them from overwhelming resources. Here's a link from Prefect 3.x documentation for more details: Prefect YAML Deployment. For those on Prefect 2.x, it might be useful to check specific sections related to deployment configurations and parameters, but the same idea applies. You can alter this setting depending on your resource availability and requirements.
c
While your explanation makes sense, that field isn't part of the documentation page you linked.