Sha256: 39b7ad6cf3e8e0a7e5ab5de5e6fb5d4bb5bc0ebe9abc57eed16b170e02cb2c8c

Contents?: true

Size: 765 Bytes

Versions: 3

Compression:

Stored size: 765 Bytes

Contents

<table class="workers table table-hover table-bordered table-striped table-white">
  <thead>
    <th><%= t('Worker') %></th>
    <th><%= t('Queue') %></th>
    <th><%= t('Class') %></th>
    <th><%= t('Arguments') %></th>
    <th><%= t('Started') %></th>
  </thead>
  <% workers.each_with_index do |(worker, msg), index| %>
    <tr>
      <td><%= worker %></td>
      <td>
        <a href="<%= root_path %>queues/<%= msg['queue'] %>"><%= msg['queue'] %></a>
      </td>
      <td><%= msg['payload']['class'] %></td>
      <td>
        <div class="args"><%= display_args(msg['payload']['args']) %></div>
      </td>
      <td><%= relative_time(msg['run_at'].is_a?(Numeric) ? Time.at(msg['run_at']) : Time.parse(msg['run_at'])) %></td>
    </tr>
  <% end %>
</table>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-2.17.6 web/views/_workers.erb
sidekiq-2.17.5 web/views/_workers.erb
sidekiq-2.17.4 web/views/_workers.erb