From 639170ab229b541cb48f143268c8b71bfec67585 Mon Sep 17 00:00:00 2001 From: Michal Charemza Date: Wed, 22 Jul 2020 11:53:12 +0100 Subject: [PATCH] (feat) Make ES downtime less sensitive --- core/app/app_incoming_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app/app_incoming_server.py b/core/app/app_incoming_server.py index 6e5e3bee..8a8717e5 100644 --- a/core/app/app_incoming_server.py +++ b/core/app/app_incoming_server.py @@ -146,7 +146,7 @@ async def handle(_): is_redis_green = redis_result == b'GREEN' min_age = await es_min_verification_age(context) - is_elasticsearch_green = min_age < 120 + is_elasticsearch_green = min_age < 500 all_green = is_redis_green and is_elasticsearch_green