What's the best way to replicate the `max_retries`...
# ask-community
j
What's the best way to replicate the
max_retries
feature but for an entire flow? I.e. if the flow fails for some reason, retry it 5 minutes later.
k
Flow level retries are being considered for Orion, but the thing is that it means slightly different things to different people. If you only want to re-run failed tasks, I would either of: 1. moving all failed states to scheduled 2. use the KV store to keep a counter, use a state handler to trigger another flow run, and caching to avoid re-running already completed tasks
j
Gotcha, thank you, that is helpful!