forked from CMS/memberPlumbing
Increase door control communication timeout
This commit is contained in:
parent
c222a2198f
commit
198cf59409
@ -104,7 +104,7 @@ def doRequest(ip, params=None, files=None):
|
||||
params=params,
|
||||
files=files,
|
||||
auth=requests.auth.HTTPDigestAuth(DOOR_USERNAME, DOOR_PASSWORD),
|
||||
timeout=1,
|
||||
timeout=10,
|
||||
verify=False) # ignore insecure SSL
|
||||
if r.status_code != 200:
|
||||
print("Door Updating Error: ", r.status_code, r.reason)
|
||||
|
Loading…
Reference in New Issue
Block a user