From d50ea42c163e1ad834e7c62251583bda8b4b3adb Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Tue, 1 Apr 2014 20:29:32 -0700 Subject: [PATCH] Add warning about poll_interval with large installations --- lib/sidekiq.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/sidekiq.rb b/lib/sidekiq.rb index a8deb121..5ec38745 100644 --- a/lib/sidekiq.rb +++ b/lib/sidekiq.rb @@ -117,6 +117,9 @@ module Sidekiq 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