Module: Sidekiq::Throttled::Web

Defined in:
lib/sidekiq/throttled/web.rb,
lib/sidekiq/throttled/web/stats.rb

Overview

Provides Sidekiq tab to monitor and reset throttled stats.

Defined Under Namespace

Classes: Stats

Constant Summary collapse

VIEWS =
Pathname.new(__dir__).join("web")
THROTTLED_TPL =
VIEWS.join("throttled.html.erb").read.freeze

Class Method Summary collapse

Class Method Details

.registered(app) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



23
24
25
# File 'lib/sidekiq/throttled/web.rb', line 23

def registered(app)
  register_throttled_tab app
end