Skip to main content

start_provider_session_sweep

Function start_provider_session_sweep 

Source
fn start_provider_session_sweep(mstore: &Arc<Store>, config: &Arc<ConfigState>)
Expand description

Ends the provider sessions an agent has left or let go idle: proves the history holds what their files hold, then removes the files by session id. It reads the switch and the idle limit each time and does nothing while the switch is off (history:sessionfilesweep, off until the history migration turns it on).