% @subtabs = worker_hosts.keys.sort unless worker_hosts.size == 1 %> <% if params[:id] && worker = Resque::Worker.find(params[:id]) %>
Host | Pid | Started | Heartbeat | Queues | Processed | Failed | Processing | |
---|---|---|---|---|---|---|---|---|
<% host, pid, queues = worker.to_s.split(':') %> | <%= host %> | <%= pid %> | <%= worker.started %> | <%= worker.heartbeat %> | <%= queues.split(',').map { |q| '' + q + ''}.join('') %> | <%= worker.processed %> | <%= worker.failed %> |
<% data = worker.processing || {} %>
<% if data['queue'] %>
<%= data['payload']['class'] %>
"><%= data['run_at'] %>
<% else %>
Waiting for a job...
<% end %>
|
The workers listed below are all registered as active on your system.
Where | Queues | Processing | |
---|---|---|---|
<% host, pid, queues = worker.to_s.split(':') %> | "><%= host %>:<%= pid %> | <%= queues.split(',').map { |q| '' + q + ''}.join('') %> |
<% data = worker.processing || {} %>
<% if data['queue'] %>
<%= data['payload']['class'] %>
"><%= data['run_at'] %>
<% else %>
Waiting for a job...
<% end %>
|
There are no registered workers |
The hostnames below all have registered workers. Select a hostname to view its workers, or "all" to see all workers.
Hostname | Workers |
---|---|
"><%= hostname %> | <%= workers.size %> |
">all workers | <%= Resque.workers.size %> |