修改Redis指向

This commit is contained in:
2018-03-07 13:51:35 +08:00
parent 8d635bafcf
commit 97e2fc615c
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import redis
import config
QUEUE = "calc_cmd"
redis_pool = redis.ConnectionPool(host=config.get_redis_host(), port=6379, db=0)
redis_pool = redis.ConnectionPool(host=config.get_redis_host(), port=6379, db=config.get_redis_db())
def monitor(pname):