From b6a8d51e6cdbe69b38a0c51401e7ffd07d67a9ba Mon Sep 17 00:00:00 2001 From: Davanum Srinivas <davanum@gmail.com> Date: Sun, 13 Mar 2016 20:41:01 -0400 Subject: [PATCH] Bump rabbit_transient_queues_ttl to 30 mins In I83a8d09dc0cdae24c12d7043ec810529a9ce57ab, we made reply and fanout queues expire instead of auto-delete and set the rabbit_transient_queues_ttl to 10 mins. In grenade, we seem to see the queues expiring just around the time the new side is coming up which causes havoc. There is no reason the rabbit_transient_queues_ttl should not be higher. So let's bump up the expiry to 30 mins. Closes-Bug: #1545002 Change-Id: I70a29b762198129fe0a3e904d9f2a7d4242b322c --- oslo_messaging/_drivers/impl_rabbit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo_messaging/_drivers/impl_rabbit.py b/oslo_messaging/_drivers/impl_rabbit.py index 4a0f76a58..ae795d837 100644 --- a/oslo_messaging/_drivers/impl_rabbit.py +++ b/oslo_messaging/_drivers/impl_rabbit.py @@ -158,7 +158,7 @@ rabbit_opts = [ """'{"ha-mode": "all"}' \""""), cfg.IntOpt('rabbit_transient_queues_ttl', min=1, - default=600, + default=1800, help='Positive integer representing duration in seconds for ' 'queue TTL (x-expires). Queues which are unused for the ' 'duration of the TTL are automatically deleted. The '