Skip to main content

make_due_now_batch

Function make_due_now_batch 

Source
pub async fn make_due_now_batch(
    conn: &mut PgConnection,
    ids: &[Uuid],
) -> ModelResult<()>
Expand description

Makes rows claimable again now, whatever backoff parked them.

Uses the database clock: an app-clock value sampled after BEGIN is still in the future when the same transaction compares it against now().