Skip to content

Commit 7cd00d2

Browse files
Update src/utils/requests.jl
Co-authored-by: Dilum Aluthge <[email protected]>
1 parent 141ea57 commit 7cd00d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/requests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ function github_retry_decision(method::String, resp::Union{HTTP.Response, Nothin
176176

177177
# If secondary rate limit hit without headers to guide us,
178178
# make sure we wait at least a minute
179+
# Fall back to exponential backoff
179180
delay_seconds = is_secondary_rate_limit ? max(60.0, exponential_delay) : exponential_delay
180181

181-
# Fall back to exponential backoff
182182
verbose && @info "$msg, retrying in $(round(delay_seconds, digits=1))s" method=method status=status
183183

184184
return (true, delay_seconds)

0 commit comments

Comments
 (0)