Commit 3a841b67 authored by Allvey's avatar Allvey

穿越装载区优化1

parent 9efa2d93
...@@ -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')
......
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