Projet

Général

Profil

0001-increase-wcs-timeout-to-10-seconds-17980.patch

Thomas Noël, 11 août 2017 19:14

Télécharger (832 octets)

Voir les différences:

Subject: [PATCH] increase wcs timeout to 10 seconds (#17980)

 welco/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
-