From 308b49b585b1f9554d609981ac2ffd59da4c0a3b Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 28 Oct 2013 18:27:08 -0700 Subject: [PATCH] Timeout of 1 second was a bit too optimistic for Tomato router --- homeassistant/observers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/observers.py b/homeassistant/observers.py index 0c030ad43fe..833f0f7b1d9 100644 --- a/homeassistant/observers.py +++ b/homeassistant/observers.py @@ -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: