Files
webhooker/internal/delivery/circuit_breaker.go
clawbot 9b4ae41c44
All checks were successful
check / check (push) Successful in 1m52s
feat: parallel fan-out delivery + circuit breaker for retry targets
- Fan out all targets for an event in parallel goroutines (fire-and-forget)
- Add per-target circuit breaker for retry targets (closed/open/half-open)
- Circuit breaker trips after 5 consecutive failures, 30s cooldown
- Open circuit skips delivery and reschedules after cooldown
- Half-open allows one probe delivery to test recovery
- HTTP/database/log targets unaffected (no circuit breaker)
- Recovery path also fans out in parallel
- Update README with parallel delivery and circuit breaker docs
2026-03-01 22:20:33 -08:00

4.1 KiB