Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
search_tips
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
rank
search_tips
Commits
49f87318
Commit
49f87318
authored
Feb 12, 2020
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge master
parent
3cd5b379
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
celery_task_router.py
search_tips/celery_task_router.py
+0
-3
commons.py
trans2es/commons/commons.py
+1
-2
No files found.
search_tips/celery_task_router.py
View file @
49f87318
...
...
@@ -29,6 +29,3 @@ class CeleryTaskRouter(object):
queue_name_or_none
=
self
.
task_queue_map
.
get
(
task
)
return
queue_name_or_none
trans2es/commons/commons.py
View file @
49f87318
...
...
@@ -18,9 +18,8 @@ def uuid4():
return
uuid
.
uuid4
()
.
hex
def
get_tips_suggest_list
(
instance_cn_name
,
is_weighting
=
False
):
def
get_tips_suggest_list
(
instance_cn_name
):
try
:
print
(
instance_cn_name
)
# ch_full_weight = 6.0 * 1000
# py_full_weight = 3.0 * 1000
full_weight
=
3.0
*
1000
...
...
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