change timeout

This commit is contained in:
2020-06-16 10:48:08 +08:00
parent 90e828b4ee
commit 17a4ca6057
+1 -1
View File
@@ -7,7 +7,7 @@ URL = "http://"+sys.argv[1]+"/cgi-bin/reboot.cgi"
USER = sys.argv[2]
PASS = sys.argv[3]
h = httplib2.Http(cache=None, timeout=0.2)
h = httplib2.Http(cache=None, timeout=0.5)
h.add_credentials(USER, PASS)