Commit bec7bcab authored by 郭羽's avatar 郭羽

get redis keys test

parent c6f269df
...@@ -13,7 +13,7 @@ def getRedisConn1(): ...@@ -13,7 +13,7 @@ def getRedisConn1():
return conn return conn
def getRedisConn2(): def getRedisConn2():
pool = redis.ConnectionPool(host="172.16.50.145",password="ReDis!GmTx*0aN9",port=6379,db=0) pool = redis.ConnectionPool(host="172.16.50.145",password="XfkMCCdWDIU%ls$h",port=6379,db=0)
conn = redis.Redis(connection_pool=pool) conn = redis.Redis(connection_pool=pool)
return conn return conn
......
...@@ -14,7 +14,7 @@ def getRedisConn1(): ...@@ -14,7 +14,7 @@ def getRedisConn1():
return conn return conn
def getRedisConn2(): def getRedisConn2():
pool = redis.ConnectionPool(host="172.16.50.145",password="ReDis!GmTx*0aN9",port=6379,db=0) pool = redis.ConnectionPool(host="172.16.50.145",password="XfkMCCdWDIU%ls$h",port=6379,db=0)
conn = redis.Redis(connection_pool=pool) conn = redis.Redis(connection_pool=pool)
return conn return conn
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment