[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
This commit is contained in:
ramishra 2021-02-19 15:37:38 +05:30
parent 106048af4b
commit cc9c770404
1 changed files with 1 additions and 1 deletions

View File

@ -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):