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 2e6a725e38
commit a9f0a4c4db
1 changed files with 1 additions and 1 deletions

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