lib/sidekiq/extensions/manager.rb in sidekiq-limit_fetch-4.1.0 vs lib/sidekiq/extensions/manager.rb in sidekiq-limit_fetch-4.2.0
- old
+ new
@@ -4,10 +4,11 @@
options[:fetch] = Sidekiq::LimitFetch
super
end
def start
- Sidekiq::LimitFetch::Queues.start options
+ # In sidekiq 6.5.0 the variable @options has been renamed to @config
+ Sidekiq::LimitFetch::Queues.start @options || @config
Sidekiq::LimitFetch::Global::Monitor.start!
super
end
end