Skip to main content

set_alerted

Function set_alerted 

Source
pub fn set_alerted(agent: &str, level: u8, now_ms: i64)
Expand description

Records the alert level sent for the agent’s day, on each of its rows so it survives a restart. A raised cap sets it back down to where the day now stands.