Skip to content

Commit 45e068e

Browse files
authored
Increase HTTP request timeout to 30 seconds
Increased timeout for HTTP requests from 6 to 30 seconds.
1 parent 0ce529e commit 45e068e

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)