<% @subtabs = resque.queues unless partial? || params[:id].nil? %> <% if queue = params[:id] %>

Pending jobs on <%= queue %>

" class='remove-queue'>

<%= page_entries_info start = params[:start].to_i, start + 19, size = resque.size(queue), 'job' %>

<% for job in (jobs = resque.peek(queue, start, 20)) %> <% end %> <% if jobs.empty? %> <% end %>
Class Args
<%= partial :job_class, :job => job %> <%=h job['args'].inspect %>
There are no pending jobs in this queue
<%= partial :next_more, :start => start, :size => size, :per_page => 20 %> <% else %>

Queues

The list below contains all the registered queues with the number of jobs currently in the queue. Select a queue from above to view all jobs currently pending on the queue.

<% resque.queues.sort_by { |q| q.to_s }.each do |queue| %> <% end %> <% if failed_multiple_queues? %> <% Resque::Failure.queues.sort_by { |q| q.to_s }.each_with_index do |queue, i| %> <%= " first_failure" if i.zero? %>"> <% end %> <% else %> "> <% end %>
Name Jobs
"><%= queue %> <%= resque.size queue %>
"><%= queue %> <%= Resque::Failure.count(queue) %>
failed <%= Resque::Failure.count %>
<% end %>