Hi Prefect! On Prefect Cloud, is there a limit to ...
# prefect-community
s
Hi Prefect! On Prefect Cloud, is there a limit to how many runs you can have in scheduled state or queued up to be ran by the next available agent (we have 2 slots). My co-worker tried to queue 80 runs last night and said not all of them made it. Thank you!
j
There shouldn't be a limit for pending runs, only for active runs. If you can describe better how "not all of them made it" we might be able to take a look.
s
He says he was doing multiple things at once. He scheduled 80 runs. While they were running, he deployed an update to the flow which re-registered it. If a new version of the flow is registered and scheduled runs exist on the previous flow version that becomes archived, what happens to those scheduled runs?
j
Once a flow is archived, all pending runs are deleted (archived flows can't have active flow runs).
So it sounds like that's the issue then.
s
Oh gotcha. Thanks for the info and quick response!