pub async fn make_due_now_batch(
conn: &mut PgConnection,
ids: &[Uuid],
enrolment_check_source: EnrolmentCheckSource,
) -> ModelResult<()>Expand description
Makes rows claimable again now, whatever backoff parked them. A row waiting for an enrolment
check has its check marked as enrolment_check_source: who asked for it.
Uses the database clock: an app-clock value sampled after BEGIN is still in the future when
the same transaction compares it against now().