https://prefect.io logo
s

Shawn Marhanka

12/15/2020, 5:11 PM
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

Jim Crist-Harif

12/15/2020, 5:12 PM
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

Shawn Marhanka

12/15/2020, 5:28 PM
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

Jim Crist-Harif

12/15/2020, 5:43 PM
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

Shawn Marhanka

12/15/2020, 5:59 PM
Oh gotcha. Thanks for the info and quick response!