We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff5fc9b commit 3d9814dCopy full SHA for 3d9814d
lib/resque/server/views/working.erb
@@ -27,7 +27,7 @@
27
28
<% else %>
29
30
- <% workers = resque.working %>
+ <% workers = resque.working.reject { |w| w.idle? } %>
31
<h1 class='wi'><%= workers.size %> of <%= resque.workers.size %> Workers Working</h1>
32
<p class='intro'>The list below contains all workers which are currently running a job.</p>
33
<table class='workers'>
@@ -45,7 +45,6 @@
45
46
<% for worker in workers.sort_by { |w| w.job['run_at'] ? w.job['run_at'] : '' } %>
47
<% job = worker.job %>
48
- <% next if worker.idle? %>
49
50
<tr>
51
<td class='icon'><img src="<%=u state = worker.state %>.png" alt="<%= state %>" title="<%= state %>"></td>
0 commit comments