summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVictor J. Orlikowski <vjo@duke.edu>2016-02-26 11:21:24 -0500
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-02-27 22:02:34 +0900
commitdb1c93249b5ab5827e396760e9db1f75a614467b (patch)
tree1ed7e67cc01ce321fc2a578a33dc768231c49107
parent876e35d430c42a5c1fe40ac4ab74adc4d1b6b0d7 (diff)
Use a slightly lighter Queue implementation
It does not include an internal counter. Signed-off-by: Victor J. Orlikowski <vjo@duke.edu> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/lib/hub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/lib/hub.py b/ryu/lib/hub.py
index 56211479..ce5e150f 100644
--- a/ryu/lib/hub.py
+++ b/ryu/lib/hub.py
@@ -90,7 +90,7 @@ if HUB_TYPE == 'eventlet':
except greenlet.GreenletExit:
pass
- Queue = eventlet.queue.Queue
+ Queue = eventlet.queue.LightQueue
QueueEmpty = eventlet.queue.Empty
Semaphore = eventlet.semaphore.Semaphore
BoundedSemaphore = eventlet.semaphore.BoundedSemaphore