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
e29a263d
Commit
e29a263d
authored
Oct 16, 2019
by
吴升宇
Browse files
Options
Browse Files
Download
Plain Diff
resolve confilicts
parents
4f5aedc1
89a54334
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
Makefile
Makefile
+2
-0
README.md
README.md
+0
-6
celery_task_router.py
physical/celery_task_router.py
+3
-1
No files found.
Makefile
View file @
e29a263d
crontab
:
cp
crontab.py /data/log/physical/app/crontab.py
&&
python /data/log/physical/app/crontab.py
&&
python /data/log/physical/app/crontabs.py
celery
:
celery
-A
physcical worker
-c
1
-Q
vest
-l
debug
README.md
View file @
e29a263d
...
...
@@ -55,10 +55,4 @@ celery -A physical beat
### physical策略端脚本
在Alp-Test-Cos-test001服务器上,通过crontab -l查看
<<<<<<< README.md
更新脚本
```
bash
make crontab
```
physical/celery_task_router.py
View file @
e29a263d
...
...
@@ -9,12 +9,14 @@ class CeleryTaskRouter(object):
queue_task_map
=
{
"tapir-alpha"
:
[
'injection.data_sync.tasks.write_to_es'
,
],
"vest"
:
[
'vest.request.auto_request.click'
,
'vest.request.auto_request.reply'
,
'vest.request.auto_request.follow'
,
'vest.request.auto_request.reply2'
,
'vest.request.auto_request.pictorial_reply'
]
,
]
}
# 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