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 the env var SQLITE_GRAPHRAG_DISABLE_RETRY is set to 1.

When active, all retry loops should propagate the error immediately without sleeping. Use during incidents to prevent retry storms.