https://prefect.io logo
#prefect-community
Title
# prefect-community
p

puneet jindal

12/20/2022, 9:57 AM
how to start a flow run for deployment B from a flow run of deployment A and what is the rate limits there
r

Rob Freedy

12/20/2022, 3:57 PM
Hey @puneet jindal!! You can create a flow run from a deployment using the orion client and the
create_flow_run_from_deployment
method (see docs here)
p

puneet jindal

12/21/2022, 4:59 AM
is there any rate limit here , as in my case i would be creating 5k flows from a single flow in a for loop
r

Rob Freedy

12/21/2022, 3:01 PM
As of now, we do not have any publicly published rate limits. You should be able to kick off that many flow runs over a reasonable span of time. However, Prefect will respond with a 429 Error code if there is an exceptionally high amount of API traffic in a small amount of time, so it is something to keep an eye on. We are working with our internal team to establish appropriate limits and will announce updates in the community in the future.
p

puneet jindal

12/22/2022, 10:20 AM
sure
For now i am assuming 5k in a 5 min , is that looks fine
2 Views