Skip to main content

check_current_every

Function check_current_every 

Source
pub fn check_current_every(i: usize, every: usize, phase: &str)
Expand description

Cheap intra-loop poll: costs a branch on all but every every-th iteration. For the builder loops whose single invocation can outrun the whole timeout (the envoy 520-config cross product, the sentry-scale config-key scan), where the between-builders check cannot help.