From 8bc676b22bf35d0f00803061faead378d9f248bb Mon Sep 17 00:00:00 2001 From: "Bo-Chun Louis Chen(VM)" <louistw@uab.edu> Date: Sat, 22 Feb 2020 06:39:05 +0000 Subject: [PATCH] Dont remove queue at stopping consume --- rc_rmq.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/rc_rmq.py b/rc_rmq.py index 8d43102..9ab1d78 100644 --- a/rc_rmq.py +++ b/rc_rmq.py @@ -88,5 +88,3 @@ class RCRMQ(object): def stop_consume(self): self._channel.basic_cancel(self._consumer_tag) - if not self.DURABLE: - self._channel.queue_delete(self.QUEUE) -- GitLab