I'm curious if there's a way to automatically remove flows from our queue if they are late? We have a flow that runs every 3 minutes and if our agent goes down, we end up having hundreds of flows that all start running when the agent is restarted.
03/03/2023, 4:40 PM
If you have prefect cloud, automations should be able to handle this.
03/03/2023, 4:42 PM
if you don’t have automations, you can use the REST api on a cron / schedule to clear out flow_runs in a late a state