Skip to main content

due

Function due 

Source
pub fn due(now: Timestamp, updated: Timestamp, grace_secs: u64) -> bool
Expand description

Is updated old enough, measured against now, that the run may fold?

Pure; the janitor compares against wallclock, tests inject both sides. The comparison is strict, so a run exactly at the edge of its grace period is left alone one more pass — the same convention as crate::disk::over_limit.