0001-increase-wcs-timeout-to-10-seconds-17980.patch
welco/utils.py | ||
---|---|---|
67 | 67 |
if response_json is None: |
68 | 68 |
signed_url = sign_url(url + '?orig=%s' % wcs_site.get('orig'), wcs_site.get('secret')) |
69 | 69 |
response_json = requests.get(signed_url, headers={'accept': 'application/json'}, |
70 |
timeout=2).json()
|
|
70 |
timeout=10).json()
|
|
71 | 71 |
cache.set(url, response_json) |
72 | 72 |
return response_json |
73 | 73 | |
74 |
- |