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)