Skip to main content

write_idle

Function write_idle 

Source
pub fn write_idle(root: &Path, token: &str, since_secs: u64) -> Result<()>
Expand description

Records that the holder with token has been idle since since_secs (epoch seconds). Does nothing when the slot now belongs to another holder: a note about the last run must never land on the next one.