From 47a06b8f9c50d1dd3e9d74f596bff37270bda68c Mon Sep 17 00:00:00 2001 From: edithatogo <15080672+edithatogo@users.noreply.github.com> Date: Fri, 7 Aug 2026 06:26:30 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=92=20Fix=20missing=20timeout=20in=20H?= =?UTF-8?q?TTP=20request?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/review/snowball.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/review/snowball.py b/scripts/review/snowball.py index 3098f5d..275b002 100644 --- a/scripts/review/snowball.py +++ b/scripts/review/snowball.py @@ -13,7 +13,7 @@ def fetch_url(url): headers={"User-Agent": "UOGTO-Scoping-Review-Agent/1.0 (mailto:uogto@example.org)"} ) try: - with urllib.request.urlopen(req) as response: + with urllib.request.urlopen(req, timeout=10) as response: return response.read() except Exception as e: print(f"Error fetching {url}: {e}", file=sys.stderr)