Skip to main content

sweep_once

Function sweep_once 

Source
pub(crate) async fn sweep_once(state: &AppState) -> usize
Expand description

One idle sweep: stop each agent with no view that has been idle past its window and that nothing keeps running. Returns how many were stopped.