debian-mirror-gitlab/app/workers/concerns/cronjob_queue.rb

10 lines
212 B
Ruby
Raw Normal View History

2016-11-03 12:29:30 +05:30
# 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