web/views/busy.erb in sidekiq-6.4.1 vs web/views/busy.erb in sidekiq-6.4.2

- old
+ new

@@ -13,11 +13,11 @@ <div class="stat"> <h3><%= x = processes.total_concurrency; number_with_delimiter(x) %></h3> <p><%= t('Threads') %></p> </div> <div class="stat"> - <h3><%= ws = workers.size; number_with_delimiter(ws) %></h3> + <h3><%= ws = workset.size; number_with_delimiter(ws) %></h3> <p><%= t('Busy') %></p> </div> <div class="stat"> <h3><%= x == 0 ? 0 : ((ws / x.to_f) * 100).round(0) %>%</h3> <p><%= t('Utilization') %></p> @@ -46,11 +46,11 @@ <div class="table_container"> <table class="processes table table-hover table-bordered table-striped"> <thead> <th><%= t('Name') %></th> <th><%= t('Started') %></th> - <th class="col-sm-1"><%= t('RSS') %><a href="https://github.com/mperham/sidekiq/wiki/Memory#rss"><span class="info-circle" title="Click to learn more about RSS">?</span></a></th> + <th class="col-sm-1"><%= t('RSS') %><a target="blank" href="https://github.com/mperham/sidekiq/wiki/Memory#rss"><span class="info-circle" title="Click to learn more about RSS">?</span></a></th> <th class="col-sm-1"><%= t('Threads') %></th> <th class="col-sm-1"><%= t('Busy') %></th> <th>&nbsp;</th> </thead> <% lead = processes.leader %> @@ -107,10 +107,10 @@ <th><%= t('Queue') %></th> <th><%= t('Job') %></th> <th><%= t('Arguments') %></th> <th><%= t('Started') %></th> </thead> - <% workers.each do |process, thread, msg| %> + <% workset.each do |process, thread, msg| %> <% job = Sidekiq::JobRecord.new(msg['payload']) %> <tr> <td><%= process %></td> <td><%= thread %></td> <td><%= job.jid %></td>