Timeout of 1 second was a bit too optimistic for Tomato router

This commit is contained in:
Paulus Schoutsen committed 2013-10-28 18:27:08 -07:00
1 parent 58ac9e0aac
commit 308b49b585
1 file changed
+1 -1
+1 -1
View File
@@ -317,7 +317,7 @@ class TomatoDeviceScanner(object):
self.logger.info("Tomato:Scanning")
try:
response = requests.Session().send(self.req, timeout=1)
response = requests.Session().send(self.req, timeout=3)
# Calling and parsing the Tomato api here. We only need the
# wldev and dhcpd_lease values. For API description see: