From 0b990a4adf08859a8cdc65ea6e3bc2f41b9300c1 Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Wed, 15 Aug 2012 09:07:53 -0700 Subject: [PATCH] Make exclusive opt-in, fixes #347 --- lib/sidekiq/processor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sidekiq/processor.rb b/lib/sidekiq/processor.rb index 8c3daf05..4f402e14 100644 --- a/lib/sidekiq/processor.rb +++ b/lib/sidekiq/processor.rb @@ -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|