Use a slightly lighter Queue implementation, that does not include an internal 
counter.

Signed-off-by: Victor J. Orlikowski <[email protected]>

---
 ryu/lib/hub.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ryu/lib/hub.py b/ryu/lib/hub.py
index 5621147..ce5e150 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
-- 

Best,
Victor
--
Victor J. Orlikowski <> vjo@[cs.]duke.edu

Attachment: 0001-Use-a-slightly-lighter-Queue-implementation-that-doe.patch
Description: 0001-Use-a-slightly-lighter-Queue-implementation-that-doe.patch

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to