lib/sidetiq/config.rb in sidetiq-0.3.7 vs lib/sidetiq/config.rb in sidetiq-0.4.0.rc1
- old
+ new
@@ -20,7 +20,15 @@
# Public: Returns the current configuration used by Sidetiq.
def config
@config ||= OpenStruct.new
end
end
+
+ configure do |config|
+ config.worker_history = 50
+ config.resolution = 1
+ config.lock_expire = 1000
+ config.utc = false
+ config.handler_pool_size = nil
+ end
end