Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integrated-scheduling-v3
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
1
Merge Requests
1
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
张晓彤
integrated-scheduling-v3
Commits
3a841b67
Commit
3a841b67
authored
Oct 19, 2023
by
Allvey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
穿越装载区优化1
parent
9efa2d93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
settings.py
settings.py
+5
-0
No files found.
settings.py
View file @
3a841b67
...
@@ -96,6 +96,11 @@ pool2 = ConnectionPool(host=redis_config["host"], db=2, port=6379, password=redi
...
@@ -96,6 +96,11 @@ pool2 = ConnectionPool(host=redis_config["host"], db=2, port=6379, password=redi
redis2
=
StrictRedis
(
connection_pool
=
pool2
)
redis2
=
StrictRedis
(
connection_pool
=
pool2
)
# redis 0
pool0
=
ConnectionPool
(
host
=
redis_config
[
"host"
],
db
=
0
,
port
=
6379
,
password
=
redis_config
[
"password"
])
redis0
=
StrictRedis
(
connection_pool
=
pool0
)
def
str_to_byte
(
item
):
def
str_to_byte
(
item
):
return
bytes
(
item
,
encoding
=
'utf8'
)
return
bytes
(
item
,
encoding
=
'utf8'
)
...
...
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