You're calling a service that could fail.
What if there was an easier and better way to do this?
Use a Circuit instead.
Automatic exponential backoff!
1s
2s
4s
8s
16s
30s (capped)
Works with Share. Thread safe. Built in backoff.
If one trips, all break.
⚡ Worker 3 hits a fatal error → circuit.trip()
No Redis. No database. Just a shared circuit.
Handle your failures using suitkaise.circuits instead of doing it yourself.
Circuit auto resets. BreakingCircuit stays broken until you reset it yourself.