pub async fn heartbeat(conn: &mut PgConnection, phase: &str) -> ModelResult<()>Expand description
Written every iteration, work or not, so idle and wedged stay distinguishable.
pub async fn heartbeat(conn: &mut PgConnection, phase: &str) -> ModelResult<()>Written every iteration, work or not, so idle and wedged stay distinguishable.