From f30299201154a3440c0f83afb5d45eaf68639bac Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Fri, 11 Aug 2017 19:14:40 +0200 Subject: [PATCH] increase wcs timeout to 10 seconds (#17980) --- welco/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/welco/utils.py b/welco/utils.py index 1a90c16..a4fc0f3 100644 --- a/welco/utils.py +++ b/welco/utils.py @@ -67,7 +67,7 @@ def get_wcs_json(wcs_url, path, wcs_site): if response_json is None: signed_url = sign_url(url + '?orig=%s' % wcs_site.get('orig'), wcs_site.get('secret')) response_json = requests.get(signed_url, headers={'accept': 'application/json'}, - timeout=2).json() + timeout=10).json() cache.set(url, response_json) return response_json -- 2.11.0