changeset 23:e239881b4de5

Write to the end of the queue, not the beginning please.
author mcroydon
date Thu, 06 May 2010 17:41:15 +0000
parents db368b4d5925
children 363a3d8bd466
files queues/backends/redisd.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/queues/backends/redisd.py	Thu May 06 17:24:41 2010 +0000
+++ b/queues/backends/redisd.py	Thu May 06 17:41:15 2010 +0000
@@ -62,7 +62,7 @@
 
     def write(self, value):
         try:
-            resp = self._connection.lpush(self.name, value)
+            resp = self._connection.rpush(self.name, value)
             if resp == 'OK':
                 return True
             else: