class MassProcessThingsJob < ApplicationJob
extend SequentialPerform
perform_sequentially(enum_argument: 0, batch_size: 200, jitter_delay: 1..60)
def perform(ids_of_things)
# ...
end
end
Created
August 17, 2020 20:43
-
-
Save kirs/ca1c96f41a37ef3a0f0188df4502cd0a to your computer and use it in GitHub Desktop.