Skip to main content

expire_due

Function expire_due 

Source
pub fn expire_due(dir: &Path, now: Timestamp) -> Result<Option<PathBuf>, String>
Expand description

Denies, as expired, every call in the journal at dir whose deadline passed at now (nobody’s decision); their attempts read the refusal when they next resume. The path a journal this build could not read was moved aside to, if it was.

§Errors

The journal cannot be opened to write, or the sweep failed.