Browse Source

Changed queue durability from false to true

Tuna Celik 5 years ago
parent
commit
896642b374
1 changed files with 1 additions and 1 deletions
  1. 1 1
      radicale/hook/rabbitmq/__init__.py

+ 1 - 1
radicale/hook/rabbitmq/__init__.py

@@ -21,7 +21,7 @@ class Hook(hook.BaseHook):
         self._channel = connection.channel()
 
     def _make_declare_queue_synced(self, topic):
-        self._channel.queue_declare(queue=topic)
+        self._channel.queue_declare(queue=topic, durable=True)
 
     def notify(self, notification_item):
         if isinstance(notification_item, HookNotificationItem):