Skip to main content

sweep

Function sweep 

Source
pub fn sweep(session: &Session) -> Result<Vec<String>, CloudError>
Expand description

The sync’s sweep (owner 09.11.: workers that are not active do not count): give up the workers idle for IDLE_RETIRE and those of ended app sessions idle for SESSION_IDLE_RETIRE, then retire on Cloud every worker queued so far. The ids given up now.