Skip to main content

set_intervals

Function set_intervals 

Source
pub fn set_intervals(
    paths: &AppPaths,
    idle: IdlePollInterval,
    coordinated: CoordinatedPollInterval,
) -> Result<(), ServiceError>
Expand description

Store both intervals.

ยงErrors

ServiceError::Record when config/ cannot be written.