gitlab-org--gitlab-foss/app/workers/concerns/cronjob_queue.rb

10 lines
212 B
Ruby
Raw Normal View History

# 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