Skip to main content

observe_start

Function observe_start 

Source
pub fn observe_start(dir: &Path, version: &str, now_ms: i64) -> Option<Upgraded>
Expand description

Record that version started at now_ms, and return the upgrade being announced, if any: this start’s, or one made less than PENDING_FOR ago on this same version. A record that can’t be read or written is logged and treated as none: at worst a note is missed.