lib/sidekiq.rb in sidekiq-4.2.2 vs lib/sidekiq.rb in sidekiq-4.2.3
- old
+ new
@@ -148,13 +148,9 @@
require 'sidekiq/middleware/server/logging'
Middleware::Chain.new do |m|
m.add Middleware::Server::Logging
m.add Middleware::Server::RetryJobs
- if defined?(::ActiveRecord::Base)
- require 'sidekiq/middleware/server/active_record'
- m.add Sidekiq::Middleware::Server::ActiveRecord
- end
end
end
def self.default_worker_options=(hash)
@default_worker_options = default_worker_options.merge(hash.stringify_keys)