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