Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
ryu/contrib/ovs/poller.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ryu/contrib/ovs/poller.py b/ryu/contrib/ovs/poller.py
index 7d15f3e..71ac73b 100644
--- a/ryu/contrib/ovs/poller.py
+++ b/ryu/contrib/ovs/poller.py
@@ -59,6 +59,10 @@ class _SelectSelect(object):
timeout = None
else:
timeout = float(timeout) / 1000
+ # XXX workaround a bug in eventlet
+ # see https://github.com/eventlet/eventlet/pull/25
+ if timeout == 0:
+ timeout = 0.1
rlist, wlist, xlist = select.select(self.rlist, self.wlist, self.xlist,
timeout)
--
1.8.0.1
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel