Timeout of 1 second was a bit too optimistic for Tomato router
This commit is contained in:
parent
58ac9e0aac
commit
308b49b585
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue