1
This commit is contained in:
parent
b438887aa2
commit
f21d04de3c
@ -60,7 +60,7 @@ def getRedis():
|
||||
|
||||
|
||||
def readMysqlData(rushtime):
|
||||
mysql_conf = json.loads(open(CONFIG_DIR + '/rankserver.redis.cluster.json', 'r').read())
|
||||
mysql_conf = json.loads(open(CONFIG_DIR + '/rankserver.mysql.cluster.json', 'r').read())
|
||||
array = []
|
||||
for conf in mysql_conf:
|
||||
conn = pymysql.connect(host = conf['host'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user