summaryrefslogtreecommitdiff
path: root/app/workers/concerns/cronjob_queue.rb
blob: b6581779f6a0f5909ab2f0f50c0bc9ab8feb0fad (plain)
1
2
3
4
5
6
7
8
9
10
# Concern that sets various Sidekiq settings for workers executed using a
# cronjob.
module CronjobQueue
  extend ActiveSupport::Concern

  included do
    queue_namespace :cronjob
    sidekiq_options retry: false
  end
end