From 63a2193b07522ab2bf4b8bf75bf699bf936873e2 Mon Sep 17 00:00:00 2001 From: sisrsis Date: Thu, 2 Jul 2026 11:30:17 +0330 Subject: [PATCH] fix bug time out --- app/common/elastic_helper_async.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/elastic_helper_async.py b/app/common/elastic_helper_async.py index 9f9cb4a..0ae1689 100644 --- a/app/common/elastic_helper_async.py +++ b/app/common/elastic_helper_async.py @@ -46,11 +46,11 @@ class ElasticHelper: self.path_mappings = path_mappings if es_pass == "": - self.es = AsyncElasticsearch(es_url,request_timeout=4000) + self.es = AsyncElasticsearch(es_url,request_timeout=500) else: self.es = AsyncElasticsearch( es_url, - http_auth=(es_user, es_pass), + http_auth=(es_user, es_pass),request_timeout=500 ) # print(es_url)