From dbe99613b93a833843d6d7e3803acaaf2b0bd685 Mon Sep 17 00:00:00 2001 From: KatKatKateryna Date: Mon, 2 Sep 2024 11:49:32 +0100 Subject: [PATCH] Revert "timeout" This reverts commit 8ee256648df7abb831458023ab939478d01de6d4. --- pygeoapi/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygeoapi/util.py b/pygeoapi/util.py index 0db780e..4a1ddfd 100644 --- a/pygeoapi/util.py +++ b/pygeoapi/util.py @@ -888,7 +888,7 @@ class UrlPrefetcher: keyword argument is set), or the response has a bad status code, an empty dictionary is returned. """ - kwargs.setdefault('timeout', 10) + kwargs.setdefault('timeout', 1) kwargs.setdefault('allow_redirects', True) try: response = self._session.head(url, **kwargs)