From 98de7c9287bc1620f9ce190ac3d0c6b99e2da80d Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 22 May 2016 20:14:46 -0700 Subject: [PATCH] Upgrade eventlet to 0.19 --- homeassistant/components/api.py | 5 ++--- homeassistant/components/http.py | 2 +- requirements_all.txt | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/api.py b/homeassistant/components/api.py index aa94914ae14..ad8f21f069b 100644 --- a/homeassistant/components/api.py +++ b/homeassistant/components/api.py @@ -113,14 +113,13 @@ class APIEventStream(HomeAssistantView): while True: try: - # Somehow our queue.get takes too long to - # be notified of arrival of object. Probably + # Somehow our queue.get sometimes takes too long to + # be notified of arrival of data. Probably # because of our spawning on hub in other thread # hack. Because current goal is to get this out, # We just timeout every second because it will # return right away if qsize() > 0. # So yes, we're basically polling :( - # socket.io anyone? payload = to_write.get(timeout=1) if payload is stop_obj: diff --git a/homeassistant/components/http.py b/homeassistant/components/http.py index 864e517699b..8647f3c97c6 100644 --- a/homeassistant/components/http.py +++ b/homeassistant/components/http.py @@ -15,7 +15,7 @@ from homeassistant.helpers.entity import split_entity_id import homeassistant.util.dt as dt_util DOMAIN = "http" -REQUIREMENTS = ("eventlet==0.18.4", "static3==0.7.0", "Werkzeug==0.11.5",) +REQUIREMENTS = ("eventlet==0.19.0", "static3==0.7.0", "Werkzeug==0.11.5",) CONF_API_PASSWORD = "api_password" CONF_SERVER_HOST = "server_host" diff --git a/requirements_all.txt b/requirements_all.txt index 92c9b735b2c..cedf121eb43 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -57,7 +57,7 @@ dweepy==0.2.0 eliqonline==1.0.12 # homeassistant.components.http -eventlet==0.18.4 +eventlet==0.19.0 # homeassistant.components.thermostat.honeywell evohomeclient==0.2.5