From 896642b374ac2d1075d2ee2a9dba8b497bff6882 Mon Sep 17 00:00:00 2001 From: Tuna Celik Date: Mon, 17 Aug 2020 14:44:16 +0200 Subject: [PATCH] Changed queue durability from false to true --- radicale/hook/rabbitmq/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/hook/rabbitmq/__init__.py b/radicale/hook/rabbitmq/__init__.py index dbd79bf5..58789e2b 100644 --- a/radicale/hook/rabbitmq/__init__.py +++ b/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):