Permalink
Browse files

AMQP result backend is now durable

  • Loading branch information...
1 parent fa92704 commit f9e67a327167f877e90c88f022c0793494afaf52 @mher committed Dec 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tcelery/connection.py
View
@@ -99,7 +99,7 @@ def consume(self, queue, callback, x_expires=None):
assert self.channel
self.channel.queue_declare(self.on_queue_declared, queue=queue,
exclusive=False, auto_delete=True,
- nowait=True,
+ nowait=True, durable=True,
arguments={'x-expires': x_expires})
self.channel.basic_consume(callback, queue, no_ack=True)

0 comments on commit f9e67a3

Please sign in to comment.