mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Timeout of 1 second was a bit too optimistic for Tomato router
This commit is contained in:
parent
58ac9e0aac
commit
308b49b585
@ -317,7 +317,7 @@ class TomatoDeviceScanner(object):
|
|||||||
self.logger.info("Tomato:Scanning")
|
self.logger.info("Tomato:Scanning")
|
||||||
|
|
||||||
try:
|
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
|
# Calling and parsing the Tomato api here. We only need the
|
||||||
# wldev and dhcpd_lease values. For API description see:
|
# wldev and dhcpd_lease values. For API description see:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user