diff --git a/filter.py b/filter.py index e09883f..e8ff139 100644 --- a/filter.py +++ b/filter.py @@ -118,7 +118,7 @@ def listen_once(): sse_url = SOURCE_URL.rstrip("/") + "/json" log.info("Connecting to %s", sse_url) - with requests.get(sse_url, stream=True, timeout=90) as resp: + with requests.get(sse_url, stream=True, timeout=(10, None)) as resp: resp.raise_for_status() for raw_line in resp.iter_lines(): if not raw_line: