Increase the default timeout value

Recently links to web.archive.org were added for various products. Such links are very long to load. This increases the default timeout value so that such links do not make the update fail.
This commit is contained in:
Marc Wrobel
2023-09-11 22:25:39 +02:00
parent 37042add0c
commit 94e04f3b4f
3 changed files with 4 additions and 4 deletions

View File

@@ -129,8 +129,7 @@ def get_version_and_date(release_page: str, release_version: str) -> Tuple[str,
def make_bs_request(url: str) -> BeautifulSoup:
# requests to www.mozilla.org often time out, retry in case of failures
response = endoflife.fetch_url(url, timeout=10, retry_count=5)
response = endoflife.fetch_url(url)
return BeautifulSoup(response, features="html5lib")