Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
channels
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
backend
channels
Commits
566f390d
Commit
566f390d
authored
Jun 05, 2019
by
gaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redis
parent
a4437e0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
settings.py
channels/settings.py
+2
-2
No files found.
channels/settings.py
View file @
566f390d
...
@@ -29,8 +29,8 @@ ALLOWED_HOSTS = ['*']
...
@@ -29,8 +29,8 @@ ALLOWED_HOSTS = ['*']
#**********************************Celery Config*************************************************
#**********************************Celery Config*************************************************
CELERY_BROKER_URL
=
'redis://
127.0.0.1:6379/0
'
# Broker配置,使用Redis作为消息中间件
CELERY_BROKER_URL
=
'redis://
:zi1jlhVHtH8MGNqB@172.17.40.145:6379/7
'
# Broker配置,使用Redis作为消息中间件
CELERY_RESULT_BACKEND
=
'redis://
127.0.0.1:6379/0
'
# BACKEND配置,这里使用redis
CELERY_RESULT_BACKEND
=
'redis://
:zi1jlhVHtH8MGNqB@172.17.40.145:6379/7
'
# BACKEND配置,这里使用redis
CELERY_RESULT_SERIALIZER
=
'json'
# 结果序列化方案
CELERY_RESULT_SERIALIZER
=
'json'
# 结果序列化方案
#***********************************************************************************
#***********************************************************************************
...
...
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