lib/sidekiq/scheduler.rb
# Returns true if a job's queue is being listened on by sidekiq
#
# @param [String] job_queue Job's queue name
#
# @return [Boolean]
Returns true if a job's queue is being listened on by sidekiq
Returns true if a job ' s queue is being listened on by sidekiq
def enabled_queue?(job_queue)
        queues = Sidekiq.options[:queues]
        queues.empty? || queues.include?(job_queue)
      end
def enabled_queue? ( job_queue ) queues = Sidekiq . options [ :queues ] queues . empty? || queues . include? ( job_queue ) end
Returns true if a job's queue is being listened on by sidekiq
Returns true if a job ' s queue is being listened on by sidekiq
None
Boolean
job_queue
job_queue Job's queue name
job_queue Job ' s queue name