1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Merge pull request #1897 from davetoxa/web_upd

[WebUI] Add posibility to know what queues in sq process on Busy page
This commit is contained in:
Abdelkader Boudih 2014-08-13 13:18:31 +01:00
commit fde6fb64f4

View file

@ -23,12 +23,15 @@
</thead>
<% Sidekiq::ProcessSet.new.each do |process| %>
<tr>
<td>
<td width="50%">
<%= "#{process['hostname']}:#{process['pid']}" %>
<span class="label label-success"><%= process.tag %></span>
<% process.labels.each do |label| %>
<span class="label label-info"><%= label %></span>
<% end %>
<br>
<b><%= "#{t('Queues')}: " %></b>
<%= process['queues'] * ", " %>
</td>
<td><%= relative_time(Time.at(process['started_at'])) %></td>
<td><%= process['concurrency'] %></td>