优化ability转发

This commit is contained in:
huangxiaolei committed 2022-12-05 00:20:25 +08:00
1 parent b5b7a2b47a
commit 447aeeb672
15 files changed
+267 -218

No files matched your search

+2 -1
View File
@@ -194,7 +194,8 @@ func (f *ForwardManager) Start() {
go f.recvNetMsgFromGameServer()
// 接收客户端消息
cpuCoreNum := runtime.NumCPU()
for i := 0; i < cpuCoreNum*10; i++ {
_ = cpuCoreNum * 10
for i := 0; i < 1; i++ {
go f.sendNetMsgToGameServer()
}
}