Merge "[TRAIN-and-older] Reduce wait time to send ansible output" into stable/train

This commit is contained in:
Zuul 2020-07-28 21:27:33 +00:00 committed by Gerrit Code Review
commit e22d7d52f9
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ class AnsiblePlaybookAction(base.TripleOAction):
lines.append(line)
if not self.trash_output:
stdout.append(line)
if time.time() - start > 30:
if time.time() - start > 5:
self.post_message(queue, ''.join(lines))
lines = []
start = time.time()