Skip to content

Commit 88952be

Browse files
authored
Increase the number of retries on download failure (#555)
The max retry time before was 16s, here it's bumped to 128s (not counting the previous retry times). The previous time seems a bit low given the total job runtime and flaked in - https://github.com/astral-sh/python-build-standalone/actions/runs/13793651007/job/38580117193
1 parent c02f7ef commit 88952be

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)