mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-06 00:03:36 -04:00
Merge pull request #405 from dtaniwaki/patch-1
Fix interval_randomness data type
This commit is contained in:
commit
c94890c499
@ -47,7 +47,7 @@ module Faraday
|
||||
end
|
||||
|
||||
def interval_randomness
|
||||
(self[:interval_randomness] ||= 0).to_i
|
||||
(self[:interval_randomness] ||= 0).to_f
|
||||
end
|
||||
|
||||
def backoff_factor
|
||||
|
Loading…
x
Reference in New Issue
Block a user