Skip to content
Snippets Groups Projects
Commit 22b31b5f authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Set timeout to 10s in Nginx test.

parent f3d85dc1
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ else:
url = '%s://%s' % ('https' if https else 'http', domain)
sys.stdout.write('Testing url "%s": ' % url)
try:
req = requests.get(url, verify=False, timeout=5)
req = requests.get(url, verify=False, timeout=10)
except Exception as e:
code = str(e)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment