From 7a948c2768688b9e82684d52a4e89a2520fb368e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 29 Feb 2020 20:40:15 +0300 Subject: boost/build: download timeouts --- boost/build/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boost') diff --git a/boost/build/build.py b/boost/build/build.py index 0450593..8da8c9e 100755 --- a/boost/build/build.py +++ b/boost/build/build.py @@ -251,7 +251,7 @@ class ArchiveStorage(abc.ABC): for url in urls: logging.info('Trying URL: %s', url) try: - with urllib.request.urlopen(url) as request: + with urllib.request.urlopen(url, timeout=20) as request: with self.write_archive(version, request.read()) as path: yield BoostArchive(version, path) return -- cgit v1.2.3