From cc9c77040428438f61f5d17c25374100eb2eeaf6 Mon Sep 17 00:00:00 2001 From: ramishra Date: Fri, 19 Feb 2021 15:37:38 +0530 Subject: [PATCH] [Train] Bump queue subscription ttl for WebsocketClient At present it's set 1t 10000s which is not enough for many large deployments with current ansible performance issues. Client gets stuck, where as config-download workflow continues to success in the background. Though it can be made configurable, let's bump it to 12 hrs (43200s) as it's only required till we fix ansible performance issues. Closes-Bug: #1872823 Change-Id: I02866d46cce0f6b8c7f58db121707e92f4559a8e --- tripleoclient/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleoclient/plugin.py b/tripleoclient/plugin.py index 88db78bcf..4d2bbc378 100644 --- a/tripleoclient/plugin.py +++ b/tripleoclient/plugin.py @@ -102,7 +102,7 @@ class WebsocketClient(object): self.send('queue_create', {'queue_name': queue_name}) self.send('subscription_create', { 'queue_name': queue_name, - 'ttl': 10000 + 'ttl': 43200 }) def cleanup(self):