Bump CSV import timeout to 60 sec

new firmware is slower I guess
This commit is contained in:
Adam Goldsmith 2018-06-10 22:55:13 -04:00
parent b17a19b570
commit 8b598fd8b9

View File

@ -23,7 +23,7 @@ def doImportRequest(ip, params=None, files=None):
params=params, params=params,
files=files, files=files,
auth=requests.auth.HTTPDigestAuth(DOOR_USERNAME, DOOR_PASSWORD), auth=requests.auth.HTTPDigestAuth(DOOR_USERNAME, DOOR_PASSWORD),
timeout=10, timeout=60,
verify=False) # ignore insecure SSL verify=False) # ignore insecure SSL
xml = ET.XML(r.text) xml = ET.XML(r.text)
if r.status_code != 200 \ if r.status_code != 200 \