diff options
-rw-r--r-- | ryu/lib/hub.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ryu/lib/hub.py b/ryu/lib/hub.py index 7838a0c6..a4f6118e 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 |