lib/resque/worker.rb
# Returns a list of queues to use when searching for a job.
# A splat ("*") means you want every queue (in alpha order) - this
# can be useful for dynamically adding new queues. Low priority queues
# can be placed after a splat to ensure execution after all other dynamic
# queues.
Returns a list of queues to use when searching for a job.
A splat ("*") means you want every queue (in alpha order) - this
can be useful for dynamically adding new queues. Low priority queues
can be placed after a splat to ensure execution after all other dynamic
queues.
Returns a list of queues to use when searching for a job . A splat ( " * " ) means you want every queue ( in alpha order ) - this can be useful for dynamically adding new queues . Low priority queues can be placed after a splat to ensure execution after all other dynamic queues .
def queues
      @queues.map do |queue|
        if queue == "*"
          (Resque.queues - @queues).sort
        else
          queue
        end
      end.flatten.uniq
    end
def queues @queues . map do | queue | if queue == "*" ( Resque . queues - @queues ) . sort else queue end end . flatten . uniq end
Returns a list of queues to use when searching for a job.
Returns a list of queues to use when searching for a job .