ソースを参照

修改服务器架构

neo 1 年間 前
コミット
02f276183a
共有3 個のファイルを変更した10 個の追加1 個の削除を含む
  1. 1 0
      run/ali-test/clustername.lua
  2. 1 1
      run/ali-test/machine.conf
  3. 8 0
      run/ali-test/nodes.lua

+ 1 - 0
run/ali-test/clustername.lua

@@ -5,3 +5,4 @@ login_1_1 = "127.0.0.1:4103"
5
 gate_1_1 = "127.0.0.1:4104"
5
 gate_1_1 = "127.0.0.1:4104"
6
 game_1_1 = "127.0.0.1:4105"
6
 game_1_1 = "127.0.0.1:4105"
7
 match = "127.0.0.1:4106"
7
 match = "127.0.0.1:4106"
8
+web = "127.0.0.1:4107"

+ 1 - 1
run/ali-test/machine.conf

@@ -1,3 +1,3 @@
1
 
1
 
2
 #启动进程配置
2
 #启动进程配置
3
-nodeList = master resource global match game_1_1 gate_1_1 login_1_1
3
+nodeList = master resource global match web game_1_1 gate_1_1 login_1_1

+ 8 - 0
run/ali-test/nodes.lua

@@ -52,4 +52,12 @@ root["game_1_1"] = {
52
     weight = 50 -- 权重
52
     weight = 50 -- 权重
53
 }
53
 }
54
 
54
 
55
+root["web"] = {
56
+    ip = "0.0.0.0",
57
+    debugPort = 8111,
58
+    port = 8112,
59
+    agentCount = 5,
60
+    bodyLimit = 8192
61
+}
62
+
55
 return root
63
 return root