diff options
author | Davanum Srinivas <davanum@gmail.com> | 2016-03-13 20:41:01 -0400 |
---|---|---|
committer | Davanum Srinivas (dims) <davanum@gmail.com> | 2016-03-14 11:38:39 +0000 |
commit | f8cad0e76d1d7ed0c60b0a7c2cd6c157382f0e9a (patch) | |
tree | 4a0f0d89c19dbb59c20da8be246c5ee712128e71 | |
parent | 4ab9b02e9bb70bc4049fe19f5e58d2a3301b7007 (diff) | |
download | oslo-messaging-f8cad0e76d1d7ed0c60b0a7c2cd6c157382f0e9a.tar.gz |
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
-rw-r--r-- | oslo_messaging/_drivers/impl_rabbit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_messaging/_drivers/impl_rabbit.py b/oslo_messaging/_drivers/impl_rabbit.py index 1776fb5..a67e707 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 ' |