pub fn serve_pause_resume_all(
connection: &mut PgConnection,
owner: &str,
pause: bool,
) -> Result<usize, Status>Expand description
Pause or resume all conversions globally — the dashboard’s “Pause/Resume all conversions”.
The global twin of serve_pause_resume: across every (corpus, service), pause blocks every
in-progress task and resume returns every Blocked task to TODO. Returns the number of tasks
moved. Audited by the fairing; fully reversible (the inverse action restores TODO).