Files
chuanqi-server-instance/Gateway/GateWay.txt
aixianling 0a698ad254 feat(Gateway): 修改网关配置并添加新服务
- 修改原有网关服务的发送线程数从 2 增加到 20
- 添加新的网关服务配置,用于版本验收
- 新增服务的端口和后台服务器端口与原有服务不同
2025-01-10 09:11:25 +08:00

30 lines
1.2 KiB
Plaintext
Executable File

GateServer = {
{
--网关服务的绑定地址和端口
LocalService = {
ServerName = "版本验收-网关服(sid=1001)",
Address = "0.0.0.0",
Port = 10317,
MaxSession = 8192, --网关中客户端连接池的最大连接数
SendThreadCount = 20, --数据发送线程池中工作线程数量
},
--后台服务器的地址和端口
BackServer = {
Host = "127.0.0.1",
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,
},
},
}