I'm curious if there's a way to automatically remo...
# ask-community
c
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.
1
g
If you have prefect cloud, automations should be able to handle this.
c
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