Skip to main content

pause_all_api

Function pause_all_api 

Source
pub fn pause_all_api(
    actor: Actor,
    pool: &State<DbPool>,
) -> Result<Json<GlobalRunControlDto>, Status>
Expand description

Pause all conversions — block every in-progress task fleet-wide so the dispatcher stops leasing new work everywhere. The agent twin of the dashboard’s “Pause all conversions”. Token-gated; returns the count blocked. Reversible with the resume twin.