Skip to main content

spawn_runner_cleanup_task

Function spawn_runner_cleanup_task 

Source
pub fn spawn_runner_cleanup_task(
    runners: Arc<RwLock<HashMap<String, AgentRunner>>>,
    log_prefix: Option<&'static str>,
)
Expand description

Spawn a background task that cleans up completed agent runners after 5 minutes.