<%= t('Queue') %> | <%= t('Size') %> | <%= t('Latency') %> | <%= t('Actions') %> | <% @queues.each do |queue| %>
---|---|---|---|
<%= h queue.name %> <% if queue.paused? %> <%= t('Paused') %> <% end %> | <%= number_with_delimiter(queue.size) %> | <% queue_latency = queue.latency %><%= number_with_delimiter(queue_latency.round(2)) %><%= (queue_latency < 60) ? '' : " (#{relative_time(Time.at(Time.now.to_f - queue_latency))})" %> |