lib/shoryuken/launcher.rb in shoryuken-4.0.2 vs lib/shoryuken/launcher.rb in shoryuken-4.0.3
- old
+ new
@@ -70,10 +70,10 @@
def create_managers
Shoryuken.groups.map do |group, options|
Shoryuken::Manager.new(
Shoryuken::Fetcher.new(group),
- Shoryuken.polling_strategy(group).new(options[:queues]),
+ Shoryuken.polling_strategy(group).new(options[:queues], Shoryuken::Options.delay(group)),
options[:concurrency],
executor
)
end
end