Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3746144
D335.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
437 B
Referenced Files
None
Subscribers
None
D335.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D335: Declare notification exchange as durable
Attached
Detach File
Event Timeline
Log In to Comment