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
36b365f2
Commit
36b365f2
authored
Dec 10, 2018
by
段英荣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
1cc93b0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
_celery.py
_celery.py
+1
-1
settings.py
physical/settings.py
+1
-0
No files found.
_celery.py
View file @
36b365f2
...
@@ -30,7 +30,7 @@ class Celery(Celery):
...
@@ -30,7 +30,7 @@ class Celery(Celery):
register_signal
(
client
)
register_signal
(
client
)
app
=
Celery
(
'
gaia
_tasks'
)
app
=
Celery
(
'
physical
_tasks'
)
# Using a string here means the worker will not have to
# Using a string here means the worker will not have to
...
...
physical/settings.py
View file @
36b365f2
...
@@ -30,6 +30,7 @@ ALLOWED_HOSTS = []
...
@@ -30,6 +30,7 @@ ALLOWED_HOSTS = []
# Application definition
# Application definition
SENTRY_CELERY_ENDPOINT
=
"http://60b0004c8884420f8067fb32fc3ed244:20f97fc73ffa4aad9735d0e6542a6d78@sentry.igengmei.com/140"
BROKER_URL
=
"redis://127.0.0.1:6379/8"
BROKER_URL
=
"redis://127.0.0.1:6379/8"
CELERY_BROKER_URL
=
"redis://127.0.0.1:6379/8"
CELERY_BROKER_URL
=
"redis://127.0.0.1:6379/8"
CELERY_TIMEZONE
=
'Asia/Shanghai'
CELERY_TIMEZONE
=
'Asia/Shanghai'
...
...
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