Commit 2bf3ea76 authored by lixiaofang's avatar lixiaofang

add

parent 98069ed3
...@@ -110,13 +110,6 @@ def sync_user_similar_score(): ...@@ -110,13 +110,6 @@ def sync_user_similar_score():
logging.error("catch exception,err_msg:%s" % traceback.format_exc()) logging.error("catch exception,err_msg:%s" % traceback.format_exc())
@shared_task
def auto_majia_effect(pk_list):
logging.info("get -----auto_majia_effect----")
auto_click(pk_list)
auto_reply(pk_list)
def auto_click(pk_list): def auto_click(pk_list):
logging.info("get--------auto_click--------------:%s" % pk_list) logging.info("get--------auto_click--------------:%s" % pk_list)
try: try:
......
...@@ -10,9 +10,9 @@ class CeleryTaskRouter(object): ...@@ -10,9 +10,9 @@ class CeleryTaskRouter(object):
"tapir-alpha": [ "tapir-alpha": [
'injection.data_sync.tasks.write_to_es', 'injection.data_sync.tasks.write_to_es',
], ],
"majia-alpha": [ # "majia-alpha": [
'injection.data_sync.tasks.auto_majia_effect', # 'injection.data_sync.tasks.auto_majia_effect',
], # ],
} }
# Map[TaskName, QueueName] # 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