This patch adopts the workaround which is discussing on the eventlet team at the following: https://github.com/eventlet/eventlet/issues/401 This workaround is suggested by Raymond Burkholder.
Suggested-by: Raymond Burkholder <[email protected]> Signed-off-by: IWASE Yusuke <[email protected]> --- ryu/lib/hub.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ryu/lib/hub.py b/ryu/lib/hub.py index 7838a0c..a4f6118 100644 --- a/ryu/lib/hub.py +++ b/ryu/lib/hub.py @@ -29,6 +29,10 @@ LOG = logging.getLogger('ryu.lib.hub') if HUB_TYPE == 'eventlet': import eventlet + # HACK: + # sleep() is the workaround for the following issue. + # https://github.com/eventlet/eventlet/issues/401 + eventlet.sleep() import eventlet.event import eventlet.queue import eventlet.semaphore -- 2.7.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
