Skip to main content

pause_run

Function pause_run 

Source
pub fn pause_run(
    corpus_name: String,
    service_name: String,
    session: Option<AdminSession>,
    pool: &State<DbPool>,
) -> Result<Redirect, Status>
Expand description

Human pause run — block every in-progress task of a (corpus, service) so the dispatcher stops. Cookie-gated; a plain form POST that redirects back to the report so the admin sees the new state (401 without a session). The agent twin is POST /api/reports/<c>/<s>/pause.