lib/sidekiq/throttled/strategy_collection.rb in sidekiq-throttled-0.18.0 vs lib/sidekiq/throttled/strategy_collection.rb in sidekiq-throttled-1.0.0.alpha
- old
+ new
@@ -59,10 +59,10 @@
# @return [Base, nil]
def make_strategy(strategy, name, key_suffix, options)
return unless options
strategy.new("throttled:#{name}",
- :key_suffix => key_suffix,
+ key_suffix: key_suffix,
**options)
end
end
end
end