Sha256: a1d154d32420c7ca9feca20b184abf0f2235d37616c8e2ebb4964f511aefca05
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 Bytes
Contents
require "request_store" require "sidekiq" require "request_store/sidekiq/version" require "request_store/sidekiq/server_middleware" require "request_store/sidekiq/railtie" if defined?(Rails::Railtie) module RequestStore module Sidekiq def self.add_custom_middleware! ::Sidekiq.configure_server do |config| config.server_middleware do |chain| chain.add ServerMiddleware end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
request_store-sidekiq-0.1.0 | lib/request_store/sidekiq.rb |