lib/sidekiq.rb in sidekiq-3.0.0 vs lib/sidekiq.rb in sidekiq-3.0.1

- old
+ new

@@ -115,9 +115,12 @@ def self.logger=(log) Sidekiq::Logging.logger = log end + # The default poll interval is 15 seconds. This should generally be set to + # (Sidekiq process count * 5). So if you have a dozen Sidekiq processes, set + # poll_interval to 60. def self.poll_interval=(interval) self.options[:poll_interval] = interval end # Register a proc to handle any error which occurs within the Sidekiq process.