Move Geo backfill worker to into its own Sidekiq queue

parent ccd53c2f
# Concern for setting Sidekiq settings for Geo backfill worker.
module GeoBackfillQueue
extend ActiveSupport::Concern
included do
sidekiq_options queue: :geo_backfill, retry: false
end
end
class GeoBackfillWorker class GeoBackfillWorker
include Sidekiq::Worker include Sidekiq::Worker
include CronjobQueue include GeoBackfillQueue
RUN_TIME = 5.minutes.to_i.freeze RUN_TIME = 5.minutes.to_i.freeze
BATCH_SIZE = 100.freeze BATCH_SIZE = 100.freeze
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment