Skip to main content

stale_keys

Function stale_keys 

Source
fn stale_keys(meta: &MetaMapType, on_route: bool, now: i64) -> Vec<&'static str>
Expand description

The spend keys on a pane’s meta that no longer hold. An agent that is not on a model route has no cap and no day of spend to show, so it carries none of them; on a route, a stop or warning written on an earlier UTC day belongs to a day the gateway has since reset, and nothing else would take it off an agent that stays idle through midnight.