<%= @workers.size %> Workers

The workers listed below are all registered as active on your system.

<% @workers.each do |worker| %> <% host, pid, queues = worker.to_s.split(':') %> <% end %> <% if @workers.empty? %> <% end %>
  Where Queues Processing
<%= image_tag "resque_web/#{worker.state}.png", :alt => worker.state, :title => worker.state %><%= host %>:<%= pid %> <% queues.split(',').each do |queue_name| %> <%= link_to queue_name, queue_path(queue_name), :class => 'label label-info' %> <% end %> <% data = worker.processing || {} %> <% if data['queue'] %> <%= data['payload']['class'] %> <%= data['run_at'] %> <% else %> Waiting for a job... <% end %>
There are no registered workers