app/models/resque_instance.rb
# Return the number of jobs waiting, by queue.  Hash of queue_name => number of jobs waiting
Return the number of jobs waiting, by queue.  Hash of queue_name => number of jobs waiting
Return the number of jobs waiting by queue . Hash of queue_name = > number of jobs waiting
def waiting_by_queue
    Hash[@resque_data_store.queue_names.map { |queue_name|
      [queue_name,@resque_data_store.queue_size(queue_name)]
    }]
  end
def waiting_by_queue Hash [ @resque_data_store . queue_names . map { | queue_name | [ queue_name , @resque_data_store . queue_size ( queue_name ) ] } ] end
Return the number of jobs waiting, by queue.
Return the number of jobs waiting by queue .