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:
parent
ada51e6176
commit
506305f16f
1 changed files with 4 additions and 0 deletions
|
@ -97,4 +97,8 @@ module Sidekiq
|
|||
Sidekiq::Logging.logger
|
||||
end
|
||||
|
||||
def self.poll_interval=(interval)
|
||||
self.options[:poll_interval] = interval
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue