lib/prop/limiter.rb in prop-2.5.0 vs lib/prop/limiter.rb in prop-2.6.0
- old
+ new
@@ -118,10 +118,10 @@
# key - the associated key
#
# Returns nothing
def reset(handle, key = nil, options = {})
_options, cache_key, strategy = prepare(handle, key, options)
- strategy.reset(cache_key)
+ strategy.reset(cache_key, options)
end
# Public: Counts the number of times the given handle/key combination has been hit in the current window
#
# handle - the throttle identifier