From db2d6ed02cf047457f76ff4d7e40ff920f515492 Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski Date: Thu, 30 May 2024 18:05:31 +0200 Subject: [PATCH] fix: increase timeouts from 2s to 15s --- voc/schedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voc/schedule.py b/voc/schedule.py index ef7aa86..cf0f63a 100644 --- a/voc/schedule.py +++ b/voc/schedule.py @@ -132,7 +132,7 @@ def __init__(self, name: str = None, json=None, version: str = None, conference= @classmethod def from_url(cls, url): log.info("Requesting " + url) - schedule_r = requests.get(url, timeout=2) + schedule_r = requests.get(url, timeout=15) if schedule_r.ok is False: schedule_r.raise_for_status()