Page MenuHomeDevCentral

D335.id795.diff
No OneTemporary

D335.id795.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
Sun, Jan 19, 01:55 (14 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2355886
Default Alt Text
D335.id795.diff (437 B)

Event Timeline