cubicweb/server/repository.py
changeset 12961 01810941a4be
parent 12960 2c3a8a4f5a02
child 12936 92dcf3476666
--- a/cubicweb/server/repository.py	Mon Mar 30 15:23:56 2020 +0200
+++ b/cubicweb/server/repository.py	Mon Mar 30 15:30:02 2020 +0200
@@ -173,7 +173,7 @@
     def __init__(self, source, size):
         super().__init__(source)
         self._cnxsets = []
-        self._queue = queue.Queue()
+        self._queue = queue.LifoQueue()
 
         for i in range(size):
             self._queue.put_nowait(self._new_cnxset())