Skip to content
Snippets Groups Projects
Commit 8bc676b2 authored by Bo-Chun Chen's avatar Bo-Chun Chen Committed by Ravi Tripathi
Browse files

Dont remove queue at stopping consume

parent ec9bd438
No related branches found
No related tags found
No related merge requests found
...@@ -88,5 +88,3 @@ class RCRMQ(object): ...@@ -88,5 +88,3 @@ class RCRMQ(object):
def stop_consume(self): def stop_consume(self):
self._channel.basic_cancel(self._consumer_tag) self._channel.basic_cancel(self._consumer_tag)
if not self.DURABLE:
self._channel.queue_delete(self.QUEUE)
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