Skip to content

Commit 4eb6539

Browse files
committed
Increase the number of retries on download failure
1 parent 08c1fac commit 4eb6539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonbuild/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def download_to_path(url: str, path: pathlib.Path, size: int, sha256: str):
287287
)
288288
)
289289

290-
for attempt in range(5):
290+
for attempt in range(8):
291291
try:
292292
try:
293293
with tmp.open("wb") as fh:

0 commit comments

Comments
 (0)