Skip to content

Commit a403067

Browse files
Allow retry_delays to be anything (#993)
- so we accept anything `Base.retry`'s `delay` argument accepts
1 parent 8b7eeef commit a403067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clientlayers/RetryRequest.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ will be retried anyway.
2828
"""
2929
function retrylayer(handler)
3030
return function(req::Request; retry::Bool=true, retries::Int=4,
31-
retry_delays::ExponentialBackOff=ExponentialBackOff(n = retries, factor=3.0), retry_check=FALSE,
31+
retry_delays=ExponentialBackOff(n = retries, factor=3.0), retry_check=FALSE,
3232
retry_non_idempotent::Bool=false, kw...)
3333
if !retry || retries == 0
3434
# no retry

0 commit comments

Comments
 (0)