From 88cdb49304da62c69d3421b69a30b913a989d8cd Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Sat, 14 Jan 2017 09:46:06 -0500 Subject: [PATCH] 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 --- elastic_recheck/elasticRecheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elastic_recheck/elasticRecheck.py b/elastic_recheck/elasticRecheck.py index 9422e6af..29c9645b 100644 --- a/elastic_recheck/elasticRecheck.py +++ b/elastic_recheck/elasticRecheck.py @@ -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