lib/httpx/plugins/retries.rb in httpx-0.19.2 vs lib/httpx/plugins/retries.rb in httpx-0.19.3

- old
+ new

@@ -39,10 +39,10 @@ module OptionsMethods def option_retry_after(value) # return early if callable unless value.respond_to?(:call) - value = Integer(value) + value = Float(value) raise TypeError, ":retry_after must be positive" unless value.positive? end value end