Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
explicitly set alert exchange to durable
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbryner committed Jan 15, 2015
1 parent 9e5ecb4 commit 6da2875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/mozdefbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def openMQ(self):
if self.channel is None:
self.channel = self.connection.channel()
self.channel.exchange_declare(
exchange=options.alertexchange, type='topic')
exchange=options.alertexchange, type='topic', durable=True)
result = self.channel.queue_declare(exclusive=False)
queue_name = result.method.queue
self.channel.queue_bind(
Expand Down

0 comments on commit 6da2875

Please sign in to comment.