Skip to main content

is_system_saturated

Function is_system_saturated 

Source
pub fn is_system_saturated() -> bool
Expand description

G28-D: returns true when the 1-minute load average exceeds 2 × ncpus (the conservative threshold originally proposed in the G28 audit). The default threshold can be overridden by the SQLITE_GRAPHRAG_MAX_LOAD_PER_NCPU env var.