Skip to main content

idle_interval

Function idle_interval 

Source
pub fn idle_interval(paths: &AppPaths) -> Result<IdlePollInterval, ServiceError>
Expand description

The configured idle interval, or the default when none was set.

ยงErrors

ServiceError::Record when the file exists and cannot be read, parsed, or holds a value under IdlePollInterval::MIN_SECS. A hand-edited 1 is refused rather than obeyed, for the reason the floor exists.