1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Make exclusive opt-in, fixes #347

This commit is contained in:
Mike Perham 2012-08-15 09:07:53 -07:00
parent c449d25513
commit 0b990a4adf

View file

@ -15,7 +15,7 @@ module Sidekiq
include Util
include Celluloid
exclusive :process
exclusive :process if ENV['SIDEKIQ_EXCLUSIVE']
def self.default_middleware
Middleware::Chain.new do |m|