mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-17 17:42:30 +08:00
网关性能优化
This commit is contained in:
@@ -121,7 +121,7 @@ func (m *MessageQueue) recvHandler() {
|
||||
}
|
||||
if netMsg.EventId == NormalMsg {
|
||||
// protobuf PayloadMessage
|
||||
payloadMessage := m.cmdProtoMap.GetProtoObjByCmdId(gameMsg.CmdId)
|
||||
payloadMessage := m.cmdProtoMap.GetProtoObjCacheByCmdId(gameMsg.CmdId)
|
||||
if payloadMessage == nil {
|
||||
logger.Error("get protobuf obj by cmd id error: %v", err)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user