Matthew Dickinson

07/14/2023, 1:00 AM
He Prefecters, seems like a simple problem I can't find a simple solution for. I have several flows that are scheduled to run approximately every 30 minutes. If the agent stops, or fails for some reasons when it is restarted all late flows try to run at once. So, if I missed 10 runs of a flow, it tries to run the same flow 10 times at once. At absolute most I would only want one to retry, or none at all. I can cancel them all in the UI prior to the agent restart, but is there a cleaner way to make this a default behaviour?


07/14/2023, 8:39 AM
Add to a different queue with single concurrency? On flow run, use the api to kill off any pending runs for the deployment?