Commit 0852eb4d authored by lixiaofang's avatar lixiaofang

add

parent f02b3ae3
...@@ -35,8 +35,8 @@ def write_to_es(es_type, pk_list, use_batch_query_set=False): ...@@ -35,8 +35,8 @@ def write_to_es(es_type, pk_list, use_batch_query_set=False):
use_batch_query_set=use_batch_query_set, use_batch_query_set=use_batch_query_set,
es=ESPerform.get_cli() es=ESPerform.get_cli()
) )
# auto_click(pk_list) auto_click(pk_list)
# logging.info("-----------------") logging.info("-----------------")
except: except:
logging.error("catch exception,err_msg:%s" % traceback.format_exc()) logging.error("catch exception,err_msg:%s" % traceback.format_exc())
...@@ -97,7 +97,7 @@ def sync_user_similar_score(): ...@@ -97,7 +97,7 @@ def sync_user_similar_score():
except: except:
logging.error("catch exception,err_msg:%s" % traceback.format_exc()) logging.error("catch exception,err_msg:%s" % traceback.format_exc())
@shared_task
def auto_click(pk_list): def auto_click(pk_list):
logging.info("get----------------------:%s" % pk_list) logging.info("get----------------------:%s" % pk_list)
exec_count = 0 exec_count = 0
......
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