Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
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
ops
jumpserver
Commits
da8fec77
Commit
da8fec77
authored
Nov 26, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 更新配置文件
parent
67f52888
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
conf.py
apps/jumpserver/conf.py
+1
-1
settings.py
apps/jumpserver/settings.py
+1
-1
No files found.
apps/jumpserver/conf.py
View file @
da8fec77
...
...
@@ -301,7 +301,7 @@ defaults = {
'REDIS_HOST'
:
'127.0.0.1'
,
'REDIS_PORT'
:
6379
,
'REDIS_PASSWORD'
:
''
,
'REDIS_DB_CELERY
_BROKER
'
:
3
,
'REDIS_DB_CELERY'
:
3
,
'REDIS_DB_CACHE'
:
4
,
'CAPTCHA_TEST_MODE'
:
None
,
'TOKEN_EXPIRATION'
:
3600
,
...
...
apps/jumpserver/settings.py
View file @
da8fec77
...
...
@@ -401,7 +401,7 @@ CELERY_BROKER_URL = 'redis://:%(password)s@%(host)s:%(port)s/%(db)s' % {
'password'
:
CONFIG
.
REDIS_PASSWORD
,
'host'
:
CONFIG
.
REDIS_HOST
,
'port'
:
CONFIG
.
REDIS_PORT
,
'db'
:
CONFIG
.
REDIS_DB_CELERY
_BROKER
,
'db'
:
CONFIG
.
REDIS_DB_CELERY
,
}
CELERY_TASK_SERIALIZER
=
'pickle'
CELERY_RESULT_SERIALIZER
=
'pickle'
...
...
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