From 5ec8b1ab4e87461603aabb7d098595f4a8e50b1f Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Thu, 27 Jan 2022 11:50:11 +0100 Subject: [PATCH] feat(api): reduced elasticsearch timeout --- api/chalicelib/core/log_tool_elasticsearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/chalicelib/core/log_tool_elasticsearch.py b/api/chalicelib/core/log_tool_elasticsearch.py index 5fdfccf24..3499e3843 100644 --- a/api/chalicelib/core/log_tool_elasticsearch.py +++ b/api/chalicelib/core/log_tool_elasticsearch.py @@ -57,7 +57,7 @@ def add_edit(tenant_id, project_id, data): port=data["port"]) -def __get_es_client(host, port, api_key_id, api_key, use_ssl=False, timeout=29): +def __get_es_client(host, port, api_key_id, api_key, use_ssl=False, timeout=15): host = host.replace("http://", "").replace("https://", "") try: args = {