Skip to main content

effective_interval

Function effective_interval 

Source
pub fn effective_interval(cfg: &Update) -> Duration
Expand description

The interval cfg configures, floored at [MIN_INTERVAL], or default_interval when unset or unparsable.

Shared by Checker::new, which throttles the network call itself against it, and the background recheck loop in web.rs, which uses it to decide how often to even ask - it cannot track an interval it never sees.