• Jacob Vosmaer's avatar
    Use perform_with_capacity to schedule ReverificationBatchWorker · 1c837773
    Jacob Vosmaer authored
    Geo::ReverificationBatchWorker uses the LimitedCapacity::Worker
    concern. For that concern to work correctly, we must periodically
    reschedule jobs and perform cleanup by calling perform_with_capacity.
    Before this commit, we were never calling perform_with_capacity on
    Geo::ReverificationBatchWorker, meaning we never ran the cleanup code.
    This commit fixes that by replacing perform_async with
    perform_with_capacity.
    1c837773
verifiable_replicator.rb 8.57 KB