Skip to main content

is_kill_switch_active

Function is_kill_switch_active 

Source
pub fn is_kill_switch_active() -> bool
Expand description

Returns true if XDG retry.disable is truthy (1 / true / yes).

When active, all retry loops should propagate the error immediately without sleeping. Use during incidents to prevent retry storms (config set retry.disable 1).