Skip to content
Snippets Groups Projects
Commit a39d7b0c authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Dont remove queue at stopping consume

parent ca69cda7
No related branches found
No related tags found
2 merge requests!23Feat resolve uid gid,!9Feat connection module
...@@ -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