优化processor

This commit is contained in:
duanhf2012
2020-03-28 10:36:49 +08:00
parent 62acc96412
commit 0ddeceb977
5 changed files with 19 additions and 27 deletions

View File

@@ -13,11 +13,11 @@ type TcpService struct {
tcpServer network.TCPServer
service.Service
tcpService *TcpService
tcpService *TcpService
mapClientLocker sync.RWMutex
mapClient map[uint64] *Client
initClientId uint64
process network.Processor
mapClient map[uint64] *Client
initClientId uint64
process network.Processor
}
const Default_MaxConnNum = 3000