Skip to content

Commit

Permalink
(feat) Make ES downtime less sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
michalc committed Jul 22, 2020
1 parent c16861f commit 639170a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/app_incoming_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 639170a

Please sign in to comment.