fix
This commit is contained in:
parent
3366ed74f4
commit
e916b572c5
@ -234,9 +234,6 @@ func ConsumeWebsocketStatData() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
stat.CurCombineCount += data.Num
|
stat.CurCombineCount += data.Num
|
||||||
if stat.CurCombineCount < 0 {
|
|
||||||
stat.CurCombineCount = 0
|
|
||||||
}
|
|
||||||
//保存统计
|
//保存统计
|
||||||
mapUserWsStat.Store(key, stat)
|
mapUserWsStat.Store(key, stat)
|
||||||
case TYPE_CUR_UNITY_HANDLE_COUNT: //unity处理计数
|
case TYPE_CUR_UNITY_HANDLE_COUNT: //unity处理计数
|
||||||
@ -251,9 +248,6 @@ func ConsumeWebsocketStatData() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
stat.CurUnityHandleCount += data.Num
|
stat.CurUnityHandleCount += data.Num
|
||||||
if stat.CurUnityHandleCount < 0 {
|
|
||||||
stat.CurUnityHandleCount = 0
|
|
||||||
}
|
|
||||||
//保存统计
|
//保存统计
|
||||||
mapUserWsStat.Store(key, stat)
|
mapUserWsStat.Store(key, stat)
|
||||||
case TYPE_CUR_COMBINE_IMAGE_ERR_COUNT: //合图失败计数
|
case TYPE_CUR_COMBINE_IMAGE_ERR_COUNT: //合图失败计数
|
||||||
|
Loading…
x
Reference in New Issue
Block a user