diff --git a/server/websocket/internal/logic/ws_statistics.go b/server/websocket/internal/logic/ws_statistics.go index 1d942830..d408e488 100644 --- a/server/websocket/internal/logic/ws_statistics.go +++ b/server/websocket/internal/logic/ws_statistics.go @@ -234,9 +234,6 @@ func ConsumeWebsocketStatData() { continue } stat.CurCombineCount += data.Num - if stat.CurCombineCount < 0 { - stat.CurCombineCount = 0 - } //保存统计 mapUserWsStat.Store(key, stat) case TYPE_CUR_UNITY_HANDLE_COUNT: //unity处理计数 @@ -251,9 +248,6 @@ func ConsumeWebsocketStatData() { continue } stat.CurUnityHandleCount += data.Num - if stat.CurUnityHandleCount < 0 { - stat.CurUnityHandleCount = 0 - } //保存统计 mapUserWsStat.Store(key, stat) case TYPE_CUR_COMBINE_IMAGE_ERR_COUNT: //合图失败计数