We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ad6ebc commit 666d429Copy full SHA for 666d429
1 file changed
activity_browser/utils.py
@@ -53,7 +53,7 @@ def safe_link_fetch(url: str) -> Tuple[object, object]:
53
object: response if no error, otherwise None
54
"""
55
try:
56
- response = requests.get(url) # retrieve the page from the URL
+ response = requests.get(url, timeout=2) # retrieve the page from the URL
57
response.raise_for_status()
58
except Exception as error:
59
return (None, error)
0 commit comments