File: fix-not-using-non-durable.patch

package info (click to toggle)
python-oslo.messaging 17.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,728 kB
  • sloc: python: 12,034; sh: 62; makefile: 24
file content (18 lines) | stat: -rw-r--r-- 720 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix not using non-durable
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2026-02-25

--- python-oslo.messaging-16.1.0.orig/oslo_messaging/_drivers/impl_rabbit.py
+++ python-oslo.messaging-16.1.0/oslo_messaging/_drivers/impl_rabbit.py
@@ -445,7 +445,9 @@
             name=self.queue_name,
             channel=conn.channel,
             exchange=self.exchange,
-            durable=False,
+            # This causes daemons to restart in loop, with the message
+            # saying that non-durable is not valid.
+#            durable=False,
             auto_delete=self.queue_auto_delete,
             routing_key=self.routing_key,
             queue_arguments=self.queue_arguments,