Sha256: 71d04bdd65bdbb970bf24fad975fe81534b57f2dc510ed8896913d6dd5955e92
Contents?: true
Size: 1.13 KB
Versions: 11
Compression:
Stored size: 1.13 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;"> <%= Sidekiq::Throttled::Web::Stats.new(strategy.concurrency).to_html %> </td> <td style="vertical-align:middle;text-align:center;"> <%= Sidekiq::Throttled::Web::Stats.new(strategy.threshold).to_html %> </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
11 entries across 11 versions & 1 rubygems