Bump console log timeout to 20 minutes

13.3 minutes doesn't seem to be adequate anymore for getting the
console logs from elasticsearch, so this change increases the timeout
to 20 minutes.

Change-Id: I77f9d79833e23f2b9cda3622832d4315ea574f4a
This commit is contained in:
Matt Riedemann 2017-01-14 09:46:06 -05:00
parent ca541dc229
commit 88cdb49304
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ class Stream(object):
def _does_es_have_data(self, event):
"""Wait till ElasticSearch is ready, but return False if timeout."""
NUMBER_OF_RETRIES = 20
NUMBER_OF_RETRIES = 30
SLEEP_TIME = 40
started_at = datetime.datetime.now()
# this checks that we've got the console log uploaded, need to retry