Skip to main content

enrich_circuit_breaker_reset_secs

Function enrich_circuit_breaker_reset_secs 

Source
pub fn enrich_circuit_breaker_reset_secs() -> Duration
Expand description

Cooldown of a tripped per-worker circuit breaker, from XDG enrich.circuit_breaker_reset_secs.

0 is rejected in favour of the default: a zero cooldown lets the breaker re-close immediately, which disables the protection instead of tuning it.