Skip to content
This repository has been archived by the owner on Nov 17, 2018. It is now read-only.

Commit

Permalink
AMQP result backend is now durable
Browse files Browse the repository at this point in the history
  • Loading branch information
mher committed Dec 28, 2013
1 parent fa92704 commit f9e67a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcelery/connection.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def consume(self, queue, callback, x_expires=None):
assert self.channel assert self.channel
self.channel.queue_declare(self.on_queue_declared, queue=queue, self.channel.queue_declare(self.on_queue_declared, queue=queue,
exclusive=False, auto_delete=True, exclusive=False, auto_delete=True,
nowait=True, nowait=True, durable=True,
arguments={'x-expires': x_expires}) arguments={'x-expires': x_expires})
self.channel.basic_consume(callback, queue, no_ack=True) self.channel.basic_consume(callback, queue, no_ack=True)


Expand Down

0 comments on commit f9e67a3

Please sign in to comment.