Commit 2ce33374 authored by 李小芳's avatar 李小芳

更新es的配置

parent 7e654074
......@@ -62,6 +62,7 @@ def get_talos_es6_instance():
def get_es_list_by_type(es_type, es_config=None):
if es_type in ['service', 'sku']:
if es_config == True:
es_list = [get_talos_es6_instance()]
else:
......
......@@ -35,7 +35,7 @@ from search.utils.area import get_nearby_city_tag
from helios.rpc.internal.default_invoker import create_default_invoker
from rpc.context import get_rpc_remote_invoker
from rpc.cache import common_cache as redis_client
from search.utils.es import get_es, es_index_adapt, es_indices_analyze
from search.utils.es import get_es, es_index_adapt, es_indices_analyze,get_talos_es
import traceback
from .es import tzlc, to_epoch,update_max_min
from doris.models.service import SubmissionCommodity, UnitRelateService, Promotion,PromotionRule,Submission, UnitActivity, Unit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment