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:
parent
c449d25513
commit
0b990a4adf
1 changed files with 1 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue