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