mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
优化processor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user