Skip to main content

keep_alive

Function keep_alive 

Source
pub async fn keep_alive(conn: &mut PgConnection, phase: &str) -> ModelResult<()>
Expand description

Keeps a long iteration from reading as a dead worker; unlike heartbeat, leaves last_run_started_at at the iteration’s start.