1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Add poll interval setter

This commit is contained in:
Jon Hinson 2012-06-19 18:36:59 -05:00
parent ada51e6176
commit 506305f16f

View file

@ -97,4 +97,8 @@ module Sidekiq
Sidekiq::Logging.logger
end
def self.poll_interval=(interval)
self.options[:poll_interval] = interval
end
end