augment timeout on POST to FC to 10 seconds (fixes #21596)

This commit is contained in:
Benjamin Dauvergne 2018-02-01 16:44:43 +01:00
parent 28402bf314
commit 3abded80f6
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ def resolve_access_token(authorization_code, redirect_uri, logger):
response = requests.post(
app_settings.token_url, data=data,
verify=app_settings.verify_certificate,
allow_redirects=False, timeout=3)
allow_redirects=False, timeout=10)
if response.status_code != 200:
try:
data = response.json()