mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Add warning about poll_interval with large installations
This commit is contained in:
parent
580f6fcbec
commit
d50ea42c16
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue