Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
graces_es6
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
graces_es6
Commits
6731bd69
Commit
6731bd69
authored
Dec 11, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改dbmw
parent
d0f4f066
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
13 deletions
+80
-13
workspace.xml
.idea/workspace.xml
+79
-12
celery_task_router.py
gaia/celery_task_router.py
+1
-1
No files found.
.idea/workspace.xml
View file @
6731bd69
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"d124fa2a-32cc-4b9e-a06a-0fa9d00e5734"
name=
"Default Changelist"
comment=
""
/>
<list
default=
"true"
id=
"d124fa2a-32cc-4b9e-a06a-0fa9d00e5734"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/gaia/celery_task_router.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/gaia/celery_task_router.py"
afterDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
@@ -19,7 +21,7 @@
...
@@ -19,7 +21,7 @@
<usages-collector
id=
"statistics.file.extensions.open"
>
<usages-collector
id=
"statistics.file.extensions.open"
>
<counts>
<counts>
<entry
key=
"json"
value=
"5"
/>
<entry
key=
"json"
value=
"5"
/>
<entry
key=
"py"
value=
"
1
"
/>
<entry
key=
"py"
value=
"
5
"
/>
<entry
key=
"txt"
value=
"1"
/>
<entry
key=
"txt"
value=
"1"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
...
@@ -27,24 +29,24 @@
...
@@ -27,24 +29,24 @@
<counts>
<counts>
<entry
key=
"JSON"
value=
"5"
/>
<entry
key=
"JSON"
value=
"5"
/>
<entry
key=
"PLAIN_TEXT"
value=
"1"
/>
<entry
key=
"PLAIN_TEXT"
value=
"1"
/>
<entry
key=
"Python"
value=
"
1
"
/>
<entry
key=
"Python"
value=
"
5
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.edit"
>
<usages-collector
id=
"statistics.file.extensions.edit"
>
<counts>
<counts>
<entry
key=
"py"
value=
"
10
"
/>
<entry
key=
"py"
value=
"
29
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.types.edit"
>
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<counts>
<entry
key=
"Python"
value=
"
10
"
/>
<entry
key=
"Python"
value=
"
29
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
</session>
</session>
</component>
</component>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf>
<leaf>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/mapping/service.json"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/mapping/service.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1065"
>
<state
relative-caret-position=
"1065"
>
...
@@ -54,10 +56,37 @@
...
@@ -54,10 +56,37 @@
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
trans2es/mapping/service_ngram.json
"
>
<entry
file=
"file://$PROJECT_DIR$/
injection/data_sync/tasks.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-3072"
>
<state
relative-caret-position=
"165"
>
<caret
line=
"5"
column=
"56"
selection-start-line=
"5"
selection-start-column=
"51"
selection-end-line=
"5"
selection-end-column=
"56"
/>
<caret
line=
"18"
column=
"24"
selection-start-line=
"18"
selection-start-column=
"24"
selection-end-line=
"18"
selection-end-column=
"24"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/gaia/celery_task_router.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"418"
>
<caret
line=
"37"
column=
"16"
selection-start-line=
"37"
selection-start-column=
"16"
selection-end-line=
"37"
selection-end-column=
"16"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/type_info.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"275"
>
<caret
line=
"56"
column=
"37"
selection-start-line=
"56"
selection-start-column=
"37"
selection-end-line=
"56"
selection-end-column=
"37"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/api/models/special.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1238"
>
<caret
line=
"287"
column=
"19"
selection-start-line=
"287"
selection-start-column=
"19"
selection-end-line=
"287"
selection-end-column=
"19"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -121,6 +150,8 @@
...
@@ -121,6 +150,8 @@
<find>
"
type
"
:
"
string
"
</find>
<find>
"
type
"
:
"
string
"
</find>
<find>
"
index
"
:
"
not_analyzed
"
</find>
<find>
"
index
"
:
"
not_analyzed
"
</find>
<find>
elasticsearch
</find>
<find>
elasticsearch
</find>
<find>
gm_default_search
</find>
<find>
es_config
</find>
</findStrings>
</findStrings>
<replaceStrings>
<replaceStrings>
<replace>
"
type
"
:
"
text
"
</replace>
<replace>
"
type
"
:
"
text
"
</replace>
...
@@ -140,10 +171,13 @@
...
@@ -140,10 +171,13 @@
<option
value=
"$PROJECT_DIR$/trans2es/mapping/sku_norms_disable.json"
/>
<option
value=
"$PROJECT_DIR$/trans2es/mapping/sku_norms_disable.json"
/>
<option
value=
"$PROJECT_DIR$/gaia/log_settings.py"
/>
<option
value=
"$PROJECT_DIR$/gaia/log_settings.py"
/>
<option
value=
"$PROJECT_DIR$/requirements/common.txt"
/>
<option
value=
"$PROJECT_DIR$/requirements/common.txt"
/>
<option
value=
"$PROJECT_DIR$/injection/data_sync/tasks.py"
/>
<option
value=
"$PROJECT_DIR$/trans2es/type_info.py"
/>
<option
value=
"$PROJECT_DIR$/gaia/celery_task_router.py"
/>
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"1"
>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"-317"
/>
<option
name=
"x"
value=
"-317"
/>
<option
name=
"y"
value=
"-1080"
/>
<option
name=
"y"
value=
"-1080"
/>
<option
name=
"width"
value=
"1920"
/>
<option
name=
"width"
value=
"1920"
/>
...
@@ -179,6 +213,11 @@
...
@@ -179,6 +213,11 @@
<item
name=
"graces_es6"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"graces_es6"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"graces_es6"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"graces_es6"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</path>
<path>
<item
name=
"graces_es6"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"graces_es6"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"gaia"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</expand>
</expand>
<select
/>
<select
/>
</subPane>
</subPane>
...
@@ -215,7 +254,7 @@
...
@@ -215,7 +254,7 @@
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-317"
y=
"-1080"
width=
"1920"
height=
"1080"
extended-state=
"
1
"
/>
<frame
x=
"-317"
y=
"-1080"
width=
"1920"
height=
"1080"
extended-state=
"
0
"
/>
<editor
active=
"true"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
id=
"DB Browser"
/>
<window_info
id=
"DB Browser"
/>
...
@@ -225,7 +264,7 @@
...
@@ -225,7 +264,7 @@
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
visible=
"true"
weight=
"0.2
2797927
"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
visible=
"true"
weight=
"0.2
3419689
"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
/>
...
@@ -295,6 +334,34 @@
...
@@ -295,6 +334,34 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/trans2es/type_info.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"275"
>
<caret
line=
"56"
column=
"37"
selection-start-line=
"56"
selection-start-column=
"37"
selection-end-line=
"56"
selection-end-column=
"37"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/api/models/special.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1238"
>
<caret
line=
"287"
column=
"19"
selection-start-line=
"287"
selection-start-column=
"19"
selection-end-line=
"287"
selection-end-column=
"19"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/injection/data_sync/tasks.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"165"
>
<caret
line=
"18"
column=
"24"
selection-start-line=
"18"
selection-start-column=
"24"
selection-end-line=
"18"
selection-end-column=
"24"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/gaia/celery_task_router.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"418"
>
<caret
line=
"37"
column=
"16"
selection-start-line=
"37"
selection-start-column=
"16"
selection-end-line=
"37"
selection-end-column=
"16"
/>
</state>
</provider>
</entry>
</component>
</component>
<component
name=
"masterDetails"
>
<component
name=
"masterDetails"
>
<states>
<states>
...
...
gaia/celery_task_router.py
View file @
6731bd69
...
@@ -35,7 +35,7 @@ class CeleryTaskRouter(object):
...
@@ -35,7 +35,7 @@ class CeleryTaskRouter(object):
'pay.tasks.momo_task.get_momo_stat_log_from_db_and_send'
,
'pay.tasks.momo_task.get_momo_stat_log_from_db_and_send'
,
],
],
'g
aia
-dbmw'
:
[
'g
races-es6
-dbmw'
:
[
'api.tasks.ping_pong_tasks.ping_dbmw'
,
'api.tasks.ping_pong_tasks.ping_dbmw'
,
'injection.data_sync.tasks.write_to_es'
,
'injection.data_sync.tasks.write_to_es'
,
'injection.data_sync.task.user_follow_sync'
,
'injection.data_sync.task.user_follow_sync'
,
...
...
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