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:
parent
25c0625b0f
commit
8ff4484690
1 changed files with 2 additions and 0 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Add table
Reference in a new issue