% if params[:id] && worker = Resque::Worker.find(params[:id]) %>
Host | Pid | Started | Queues | Processed | Failed | Processing | |
---|---|---|---|---|---|---|---|
<% host, pid, queues = worker.to_s.split(':') %> | <%= host %> | <%= pid %> | <%= worker.started %> | <%= 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 |