优化网络连接Id生成规则

This commit is contained in:
orgin
2022-06-02 17:07:01 +08:00
parent 776b234022
commit 97c55ada71

View File

@@ -74,7 +74,7 @@ func (tcpService *TcpService) genId() uint64 {
func GetNodeId(agentId uint64) int {
return int(agentId>>54)
return int(agentId>>50)
}
func (tcpService *TcpService) OnInit() error{