lib/sidekiq/throttled/strategy_collection.rb in sidekiq-throttled-0.14.1 vs lib/sidekiq/throttled/strategy_collection.rb in sidekiq-throttled-0.15.0
- old
+ new
@@ -58,13 +58,12 @@
# @return [Base, nil]
def make_strategy(strategy, name, key_suffix, options)
return unless options
- strategy.new("throttled:#{name}", {
+ strategy.new("throttled:#{name}",
:key_suffix => key_suffix,
- **options
- })
+ **options)
end
end
end
end