1
This commit is contained in:
parent
c73efe1f71
commit
8049cd7da8
@ -27,7 +27,6 @@ void JsonDataMgr::Init()
|
|||||||
|
|
||||||
std::string wsproxyserver_cluster_json_file;
|
std::string wsproxyserver_cluster_json_file;
|
||||||
std::string masterserver_cluster_json_file;
|
std::string masterserver_cluster_json_file;
|
||||||
std::string routing_tables_json_file;
|
|
||||||
wsproxyserver_cluster_json_file = a8::Format
|
wsproxyserver_cluster_json_file = a8::Format
|
||||||
("%s/node%d/game%d.wsproxy.cluster.json",
|
("%s/node%d/game%d.wsproxy.cluster.json",
|
||||||
{
|
{
|
||||||
@ -42,11 +41,6 @@ void JsonDataMgr::Init()
|
|||||||
App::Instance()->GetNodeId(),
|
App::Instance()->GetNodeId(),
|
||||||
GAME_ID
|
GAME_ID
|
||||||
});
|
});
|
||||||
routing_tables_json_file = a8::Format
|
|
||||||
("%s/routing_tables.json",
|
|
||||||
{
|
|
||||||
work_path_
|
|
||||||
});
|
|
||||||
|
|
||||||
wsproxyserver_cluster_json_.ReadFromFile(wsproxyserver_cluster_json_file);
|
wsproxyserver_cluster_json_.ReadFromFile(wsproxyserver_cluster_json_file);
|
||||||
masterserver_cluster_json_.ReadFromFile(masterserver_cluster_json_file);
|
masterserver_cluster_json_.ReadFromFile(masterserver_cluster_json_file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user