webhook delivery: add feature
webhook delivery: add feature: a task in smol-software-harbor (Harbor dataset). Stop hammering endpoints that are down. Add a new module dispatch/breaker.py with a per-endpoint circuit breaker: after THRESHOLD = 3 consecutive failed deliveries to an endpoint it is "open" until COOLDOWN = 600…
The task
Stop hammering endpoints that are down. Add a new module `dispatch/breaker.py` with a per-endpoint circuit breaker: after `THRESHOLD = 3` consecutive failed deliveries to an endpoint it is "open" until `COOLDOWN = 600` seconds after its last failure; any success resets the count. Then make `Dispatcher.run` in…
Part of efederici/smol-software-harbor.