summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEoghan Glynn <eglynn@redhat.com>2012-09-25 22:13:56 +0100
committerEoghan Glynn <eglynn@redhat.com>2012-09-26 07:02:09 +0100
commita9f0a4c4dbac0c92c431150161915bd5459a42d0 (patch)
tree386706fa02611148277465035b0b3a8c1fc63903
parent2e6a725e38b81708e77a81142bdb137af8f5fdbf (diff)
downloadglance-folsom-rc3.tar.gz
Change type of rabbit_durable_queues to boolean.folsom-rc32012.2
Fixes bug 1056465 The rabbit_durable_queues config option should be of type boolean instead of string, otherwise it does not have the expected effect on the durability of rabbitmq exchanges and queues. Change-Id: I9b3dc7d763b109c1bf10f78ebe725d71ed10791a
-rw-r--r--glance/notifier/notify_kombu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glance/notifier/notify_kombu.py b/glance/notifier/notify_kombu.py
index 857edc3b4..c605f2288 100644
--- a/glance/notifier/notify_kombu.py
+++ b/glance/notifier/notify_kombu.py
@@ -39,7 +39,7 @@ rabbit_opts = [
cfg.StrOpt('rabbit_max_retries', default=0),
cfg.StrOpt('rabbit_retry_backoff', default=2),
cfg.StrOpt('rabbit_retry_max_backoff', default=30),
- cfg.StrOpt('rabbit_durable_queues', default=False),
+ cfg.BoolOpt('rabbit_durable_queues', default=False),
]
CONF = cfg.CONF