module Sidekiq::Priority

Constants

PRIORITIES
VERSION

Public Class Methods

priorities() click to toggle source
# File lib/sidekiq/priority.rb, line 12
def self.priorities
  @priorities ||= PRIORITIES.dup
end
priorities=(priorities) click to toggle source
# File lib/sidekiq/priority.rb, line 16
def self.priorities=(priorities)
  @priorities = priorities
end
queue_with_priority(queue, priority) click to toggle source
# File lib/sidekiq/priority.rb, line 20
def self.queue_with_priority(queue, priority)
  priority.nil? ? queue : "#{queue}_#{priority}"
end