Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
meta_base_code
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
宋柯
meta_base_code
Commits
2eac9a1d
Commit
2eac9a1d
authored
Aug 20, 2021
by
郭羽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update redis conn
parent
f5cf2ab7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
func_from_redis_get_portrait.py
utils/func_from_redis_get_portrait.py
+1
-1
portary_div_exposure.py
utils/portary_div_exposure.py
+1
-1
No files found.
utils/func_from_redis_get_portrait.py
View file @
2eac9a1d
...
...
@@ -8,7 +8,7 @@ import json
import
redis
redis_client
=
redis
.
StrictRedis
.
from_url
(
"redis://:ReDis!GmTx*0aN6@172.16.40.133:6379"
,
decode_responses
=
True
)
redis_client2
=
redis
.
StrictRedis
.
from_url
(
"redis://:
ReDis!GmTx*0aN9@172.16.40.173
:6379"
,
decode_responses
=
True
)
redis_client2
=
redis
.
StrictRedis
.
from_url
(
"redis://:
XfkMCCdWDIU
%
ls$h@172.16.50.145
:6379"
,
decode_responses
=
True
)
redis_client3
=
redis
.
StrictRedis
.
from_url
(
"redis://:ReDis!GmTx*0aN12@172.16.40.164:6379"
,
decode_responses
=
True
)
redis_client4
=
redis
.
StrictRedis
.
from_url
(
"redis://:XfkMCCdWDIU
%
ls$h@172.16.50.145:6379"
,
decode_responses
=
True
)
...
...
utils/portary_div_exposure.py
View file @
2eac9a1d
...
...
@@ -13,7 +13,7 @@ from meta_base_code.utils.func_get_pv_card_id import get_card_id
import
pandas
as
pd
redis_client
=
redis
.
StrictRedis
.
from_url
(
"redis://:ReDis!GmTx*0aN6@172.16.40.133:6379"
,
decode_responses
=
True
)
redis_client2
=
redis
.
StrictRedis
.
from_url
(
"redis://:
ReDis!GmTx*0aN9@172.16.40.173
:6379"
,
decode_responses
=
True
)
redis_client2
=
redis
.
StrictRedis
.
from_url
(
"redis://:
XfkMCCdWDIU
%
ls$h@172.16.50.145
:6379"
,
decode_responses
=
True
)
redis_client3
=
redis
.
StrictRedis
.
from_url
(
"redis://:ReDis!GmTx*0aN12@172.16.40.164:6379"
,
decode_responses
=
True
)
redis_client4
=
redis
.
StrictRedis
.
from_url
(
"redis://:XfkMCCdWDIU
%
ls$h@172.16.50.145:6379"
,
decode_responses
=
True
)
...
...
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