Timeout of 1 second was a bit too optimistic for Tomato router
This commit is contained in:
1 parent
58ac9e0aac
commit
308b49b585
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user