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

Add latency row for each queue

This commit is contained in:
David Santos Merino 2017-10-19 11:32:06 +02:00 committed by Mike Perham
parent 25c0625b0f
commit 8ff4484690

View file

@ -5,6 +5,7 @@
<thead>
<th><%= t('Queue') %></th>
<th><%= t('Size') %></th>
<th><%= t('Latency') %></th>
<th><%= t('Actions') %></th>
</thead>
<% @queues.each do |queue| %>
@ -16,6 +17,7 @@
<% end %>
</td>
<td><%= number_with_delimiter(queue.size) %> </td>
<td><%= number_with_delimiter(queue.latency.round(2)) %> </td>
<td class="delete-confirm">
<form action="<%=root_path %>queues/<%= CGI.escape(queue.name) %>" method="post">
<%= csrf_tag %>