Sha256: 85cc3dda243971e99a72d8395486635c4cd9b7361e1ac7541d66a6b4bf863efe
Contents?: true
Size: 1.23 KB
Versions: 15
Compression:
Stored size: 1.23 KB
Contents
<div class="col-sm-12"> <div class="row header"> <div class="col-sm-8 pull-left"> <h3>Throttled</h3> </div> </div> </div> <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></th> </tr> </thead> <tbody> <% 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/<%= name %>" method="POST"> <%= csrf_tag %> <input type="hidden" name="_method" value="delete" /> <button class="btn btn-danger" type="submit">Reset</button> </form> </td> </tr> <% end %> </tbody> </table>
Version data entries
15 entries across 15 versions & 1 rubygems