debian-mirror-gitlab/app/workers/concerns/cronjob_queue.rb
2016-11-03 12:29:30 +05:30

9 lines
212 B
Ruby

# Concern that sets various Sidekiq settings for workers executed using a
# cronjob.
module CronjobQueue
extend ActiveSupport::Concern
included do
sidekiq_options queue: :cronjob, retry: false
end
end