Skip to content

Commit f75ae6a

Browse files
authored
Merge pull request #322 from pyOpenSci/check-url-timeout
Increase HTTP request timeout to 30 seconds
2 parents 0ce529e + 45e068e commit f75ae6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyosmeta/utils_clean.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def check_url(url: str) -> bool:
146146
"""
147147

148148
try:
149-
response = requests.get(url, timeout=6)
149+
response = requests.get(url, timeout=30)
150150
return response.status_code == 200
151151
except Exception: # pragma: no cover
152152
return False

0 commit comments

Comments
 (0)