• Mike Kozono's avatar
    Apply retry at time to needs_verification scope · aa1aa227
    Mike Kozono authored
    Which is used in `needs_verification_count`. This scope must be kept in
    sync with changes to `verification_failed_batch` and
    `verification_pending_batch`.
    
    Because `VerificationBatchWorker` (via `LimitedCapacity::Worker`) uses
    `needs_verification_count` to determine whether it should reenqueue
    itself, and how many jobs should be enqueued by `perform_with_capacity`.
    aa1aa227
verification_state.rb 11.1 KB