Skip to main content

MIN_GAP_MS

Constant MIN_GAP_MS 

Source
pub const MIN_GAP_MS: i64 = 50_000;
Expand description

Exchanges for saves, and the minute’s scheduled one, never start closer than this to the last (milliseconds): a file Sioul writes each minute (a session’s time, a plan) costs one exchange a minute, not two, and a quiet minute only the scheduled one. An exchange asked (a button, a dose answered) goes at once all the same. A save is thus carried within a minute, within seconds when the last exchange is older.