increase wcs timeout to 10 seconds (#17980)

This commit is contained in:
Thomas NOËL 2017-08-11 19:14:40 +02:00
parent 9da4f4a3ae
commit 64023468a6
1 changed files with 1 additions and 1 deletions

View File

@ -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