From 367d175be4862b7f3803a8463b713ee6af90afaf Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 13 Dec 2019 14:35:31 +0800 Subject: [PATCH] 1 --- server/wsproxy/jsondatamgr.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/wsproxy/jsondatamgr.cc b/server/wsproxy/jsondatamgr.cc index a017d61..3d04cc6 100644 --- a/server/wsproxy/jsondatamgr.cc +++ b/server/wsproxy/jsondatamgr.cc @@ -36,29 +36,29 @@ void JsonDataMgr::Init() wsproxyserver_cluster_json_file = a8::Format("%s/node%d/game%d.wsproxy.cluster.json", { work_path_, - GAME_ID, App::Instance()->node_id, GAME_ID }); masterserver_cluster_json_file = a8::Format("%s/node%d/game%d.masterserver.cluster.json", { work_path_, - GAME_ID, App::Instance()->node_id, GAME_ID }); routing_tables_json_file = a8::Format("%s/routing_tables.json", { - GAME_ID + work_path_ }); #else std::string targetserver_cluster_json_file; wsproxyserver_cluster_json_file = a8::Format("%s/game%d.wsproxy.cluster.json", { + work_path_, GAME_ID }); targetserver_cluster_json_file = a8::Format("%s/game%d.gameserver.cluster.json", { + work_path_, GAME_ID }); #endif