Skip to main content

is_cooling

Function is_cooling 

Source
pub fn is_cooling(cooling_until: Option<&str>, now: i64) -> bool
Expand description

Is this member cooling at now?

A cooling_until that is not a timestamp is treated as not cooling. pools.json is a plain file a user can edit and a half-written one is a real state; reading garbage as “cooling forever” would take a key out of service with nothing on screen explaining why.