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

package info (click to toggle)
python-oslo.messaging 17.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,696 kB
  • sloc: python: 12,072; sh: 62; makefile: 24
file content (18 lines) | stat: -rw-r--r-- 776 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: 2025-06-03

--- 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
@@ -446,7 +446,9 @@ class Consumer:
                 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,