Redis: Do not reverse message priority

This commit is contained in:
Ask Solem 2016-12-08 17:04:52 -08:00
parent bb03f09c10
commit 9c1044ef3a
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ class Channel(virtual.Channel):
def _put(self, queue, message, **kwargs):
"""Deliver message."""
pri = self._get_message_priority(message, reverse=True)
pri = self._get_message_priority(message, reverse=False)
with self.conn_or_acquire() as client:
client.lpush(self._q_for_pri(queue, pri), dumps(message))