feat(Gateway): 修改网关配置并添加新服务
- 修改原有网关服务的发送线程数从 2 增加到 20 - 添加新的网关服务配置,用于版本验收 - 新增服务的端口和后台服务器端口与原有服务不同
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
GateServer = {
|
||||
--逻辑网关
|
||||
{
|
||||
--网关服务的绑定地址和端口
|
||||
LocalService = {
|
||||
@@ -7,7 +6,7 @@ GateServer = {
|
||||
Address = "0.0.0.0",
|
||||
Port = 10317,
|
||||
MaxSession = 8192, --网关中客户端连接池的最大连接数
|
||||
SendThreadCount = 2, --数据发送线程池中工作线程数量
|
||||
SendThreadCount = 20, --数据发送线程池中工作线程数量
|
||||
},
|
||||
--后台服务器的地址和端口
|
||||
BackServer = {
|
||||
@@ -15,4 +14,17 @@ GateServer = {
|
||||
Port = 10318,
|
||||
},
|
||||
},
|
||||
{
|
||||
LocalService = {
|
||||
ServerName = "版本验收-网关服(sid=1001)",
|
||||
Address = "0.0.0.0",
|
||||
Port = 10317,
|
||||
MaxSession = 8192, --网关中客户端连接池的最大连接数
|
||||
SendThreadCount = 20, --数据发送线程池中工作线程数量
|
||||
},
|
||||
BackServer = {
|
||||
Host = "127.0.0.1",
|
||||
Port = 11318,
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user