Skip to main content

increment_verify_attempt_counts

Function increment_verify_attempt_counts 

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

Counts one verify poll for every row of a batch and returns each row’s new count. The count is part of the poll’s request item id, so it has to be taken before the request goes out.