Skip to content
Snippets Groups Projects
Commit be61e384 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

fixed #1

parent 9d6ce621
No related branches found
No related tags found
No related merge requests found
...@@ -100,6 +100,9 @@ class ClusterHandlerThread(threading.Thread): ...@@ -100,6 +100,9 @@ class ClusterHandlerThread(threading.Thread):
elif isinstance(order, DeleteQueue): elif isinstance(order, DeleteQueue):
self.backend.queue_delete(order.queue) self.backend.queue_delete(order.queue)
elif isinstance(order, ConsumeQueue): elif isinstance(order, ConsumeQueue):
if order.queue.consumer_tag in self.queues_by_consumer_tags:
return # already consuming, belay that
self.backend.queue_declare(order.queue) self.backend.queue_declare(order.queue)
if order.queue.exchange is not None: if order.queue.exchange is not None:
......
amqp
\ No newline at end of file
[metadata]
description-file = README.md
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment