Module: SidekiqTamer

Defined in:
lib/sidekiq_tamer.rb,
lib/sidekiq_tamer/version.rb

Defined Under Namespace

Modules: Mongo, Resource Classes: Middleware

Constant Summary collapse

VERSION =
"0.2.1"

Class Method Summary collapse

Class Method Details

.setupObject



7
8
9
10
11
12
13
# File 'lib/sidekiq_tamer.rb', line 7

def self.setup
  Sidekiq.configure_server do |config|
    config.server_middleware do |chain|
      chain.add SidekiqTamer::Middleware
    end
  end
end