summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2017-08-11 17:14:40 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2017-08-14 23:55:50 (GMT)
commit64023468a65cfbe358b960749fc63ac51ef11ca2 (patch)
treeadbed9af8e4eaf928cfe3ed2f16532f9b361166f
parent9da4f4a3aee7d1c13fc24b1384bb4e244d2b96a7 (diff)
downloadwelco-64023468a65cfbe358b960749fc63ac51ef11ca2.zip
welco-64023468a65cfbe358b960749fc63ac51ef11ca2.tar.gz
welco-64023468a65cfbe358b960749fc63ac51ef11ca2.tar.bz2
increase wcs timeout to 10 seconds (#17980)v0.52
-rw-r--r--welco/utils.py2
1 files changed, 1 insertions, 1 deletions
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