Sha256: 2b9db753bef8897c1484421b1e6adcf75ba91d5ccbfb43028ae3ef7084fd4e51

Contents?: true

Size: 1.27 KB

Versions: 19

Compression:

Stored size: 1.27 KB

Contents

<h3>Throttled</h3>

<div class="table_container">
  <table class="table table-hover table-bordered table-striped table-white">
    <thead>
      <tr>
        <th>Name</th>
        <th style="text-align:center;">Concurrency</th>
        <th style="text-align:center;">Threshold</th>
        <th style="text-align:center;">Actions</th>
      </tr>
    </thead>
    <% Sidekiq::Throttled::Registry.each_with_static_keys do |name, strategy| %>
      <tr>
        <td style="vertical-align:middle;"><%= name %></td>
        <td style="vertical-align:middle;text-align:center;">
          <% strategy.concurrency.each do |concurrency| %>
            <%= Sidekiq::Throttled::Web::Stats.new(concurrency).to_html %>
          <% end %>
        </td>
        <td style="vertical-align:middle;text-align:center;">
          <% strategy.threshold.each do |threshold| %>
            <%= Sidekiq::Throttled::Web::Stats.new(threshold).to_html %>
          <% end %>
        </td>
        <td style="vertical-align:middle;text-align:center;">
          <form action="<%= root_path %>throttled/<%= CGI.escape name %>/reset" method="post">
            <%= csrf_tag %>
            <button class="btn btn-danger" type="submit">Reset</button>
          </form>
        </td>
      </tr>
    <% end %>
  </table>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
sidekiq-throttled-1.5.2 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-1.5.1 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-1.5.0 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-1.4.0 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-1.3.0 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-1.2.0 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-1.1.0 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-1.0.1 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-1.0.0 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-1.0.0.alpha.1 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-1.0.0.alpha lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-0.15.1 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-0.18.0 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-0.17.0 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-0.16.2 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-0.16.1 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-0.16.0 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-0.15.0 lib/sidekiq/throttled/web/throttled.html.erb
sidekiq-throttled-0.14.1 lib/sidekiq/throttled/web/throttled.html.erb