diff options
| author | Matt Crees <mattc@stackhpc.com> | 2023-02-01 17:01:03 +0000 |
|---|---|---|
| committer | Matt Crees <mattc@stackhpc.com> | 2023-03-21 09:10:56 +0000 |
| commit | dae2cbca30663b03c4c1994f26f3a0a3c0f2dcf8 (patch) | |
| tree | ef588bc74330d96f1f16cd51704d17b4f321071d /tools | |
| parent | 0d42110e016222ae50868978dbed060021617b6a (diff) | |
| download | kolla-ansible-dae2cbca30663b03c4c1994f26f3a0a3c0f2dcf8.tar.gz kolla-ansible-dae2cbca30663b03c4c1994f26f3a0a3c0f2dcf8.zip | |
Add flags for RabbitMQ message TTL & queue expiry
Adds two new flags to alter behaviour in RabbitMQ:
* `rabbitmq_message_ttl_ms`, which lets you set a TTL on messages.
* `rabbitmq_queue_expiry_ms`, which lets you set an expiry time on queues.
See https://www.rabbitmq.com/ttl.html for more information on both.
Change-Id: I51ca37ffbb1bb5c07f2d39873f0f33ca20263f2a
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/validate-all-file.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/validate-all-file.py b/tools/validate-all-file.py index 763020e52..777c47b09 100755 --- a/tools/validate-all-file.py +++ b/tools/validate-all-file.py @@ -128,6 +128,9 @@ def check_json_j2(): 'kolla_internal_fqdn': '', 'octavia_provider_drivers': '', 'rabbitmq_ha_replica_count': 2, + 'rabbitmq_message_ttl_ms': 600000, + 'rabbitmq_queue_expiry_ms': 3600000, + } data = template.render(**context) json.loads(data) |
