Page MenuHomeDevCentral

D335.diff
No OneTemporary

D335.diff

diff --git a/notifications b/notifications
--- a/notifications
+++ b/notifications
@@ -60,7 +60,7 @@
def get_broker_queue(channel, exchange):
"""Ensure exchange exists and declare a temporary queue."""
- channel.exchange_declare(exchange=exchange, type='topic')
+ channel.exchange_declare(exchange=exchange, type='topic', durable=True)
result = channel.queue_declare(exclusive=True)
return result.method.queue

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 18:54 (21 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2246853
Default Alt Text
D335.diff (437 B)

Event Timeline