% processes = Sidekiq::ProcessSet.new @workset = Sidekiq::WorkSet.new @total_size = @workset.size @count = 10 %>
<%= t('JID') %> | <%= t('Queue') %> | <%= t('Job') %> | <%= t('Arguments') %> | <%= t('Started') %> | <%= t('Signal') %> | <% @workset.each do |process, thread, msg| %> <% job = Sidekiq::JobRecord.new(msg['payload']) %> |
---|---|---|---|---|---|---|
<%= job.jid %> | <%= msg['queue'] %> | <%= job.display_class %> <%= display_tags(job, nil) %> |
<%= display_args(job.display_args) %>
|
<%= relative_time(Time.at(msg['run_at'])) %> | <%= Sidekiq::JobSignal.quitting?(jid: job.jid) ? "quit" : "" %> |