Change type of rabbit_durable_queues to boolean.

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
This commit is contained in:
Eoghan Glynn 2012-09-25 22:13:56 +01:00
parent ef641597db
commit 35ba3e080b

View File

@ -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