Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
physical
Commits
2bf3ea76
Commit
2bf3ea76
authored
Apr 25, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
98069ed3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
tasks.py
injection/data_sync/tasks.py
+0
-7
celery_task_router.py
physical/celery_task_router.py
+3
-3
No files found.
injection/data_sync/tasks.py
View file @
2bf3ea76
...
@@ -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
:
...
...
physical/celery_task_router.py
View file @
2bf3ea76
...
@@ -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]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment