Skip to main content

settle_pending_supersessions

Function settle_pending_supersessions 

Source
async fn settle_pending_supersessions(
    conn: &mut PgConnection,
    moves: &[(Uuid, CreditRegistrationState)],
) -> ModelResult<()>
Expand description

Completes or abandons the pending supersessions of rows that were waiting on these attempts, as each attempt’s new state decides.