increase wcs timeout to 10 seconds (#17980)
This commit is contained in:
parent
9da4f4a3ae
commit
64023468a6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue