From c3e415237d61d8318889a7966ef2c4b9c7292347 Mon Sep 17 00:00:00 2001 From: KatKatKateryna Date: Mon, 2 Sep 2024 12:36:18 +0100 Subject: [PATCH] timeout header --- pygeoapi/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygeoapi/util.py b/pygeoapi/util.py index 4a1ddfd..535d8f9 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', 1) + kwargs.setdefault('timeout', 100) kwargs.setdefault('allow_redirects', True) try: response = self._session.head(url, **kwargs)