Commit d90373b8 authored by lixiaofang's avatar lixiaofang

add

parent 2bf3ea76
......@@ -42,12 +42,6 @@ def write_to_es(es_type, pk_list, use_batch_query_set=False):
use_batch_query_set=use_batch_query_set,
es=ESPerform.get_cli()
)
# # if es_type == 'topic':
# auto_click(pk_list)
# auto_reply(pk_list)
except:
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
......
......@@ -9,10 +9,7 @@ class CeleryTaskRouter(object):
queue_task_map = {
"tapir-alpha": [
'injection.data_sync.tasks.write_to_es',
],
# "majia-alpha": [
# 'injection.data_sync.tasks.auto_majia_effect',
# ],
]
}
# Map[TaskName, QueueName]
......
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