Skip to main content

interrupt_orphans

Function interrupt_orphans 

Source
pub fn interrupt_orphans(connection: &mut PgConnection) -> usize
Expand description

Marks any non-terminal jobs as interrupted; call once on frontend startup so jobs that died with a previous process are not left looking live.