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