fix
This commit is contained in:
parent
9a82b28377
commit
234f8399ab
|
@ -222,6 +222,7 @@ func ConsumeWebsocketStatData() {
|
||||||
//保存统计
|
//保存统计
|
||||||
mapUserWsStat.Store(key, stat)
|
mapUserWsStat.Store(key, stat)
|
||||||
case TYPE_CUR_COMBINE_IMAGE_COUNT: //请求算法合图计数
|
case TYPE_CUR_COMBINE_IMAGE_COUNT: //请求算法合图计数
|
||||||
|
curCombineTotalCount += data.Num
|
||||||
//不存在
|
//不存在
|
||||||
if !ok {
|
if !ok {
|
||||||
continue
|
continue
|
||||||
|
@ -232,11 +233,11 @@ func ConsumeWebsocketStatData() {
|
||||||
logx.Error("断言mapUserWsStatItem错误")
|
logx.Error("断言mapUserWsStatItem错误")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
curCombineTotalCount += data.Num
|
|
||||||
stat.CurCombineCount += data.Num
|
stat.CurCombineCount += data.Num
|
||||||
//保存统计
|
//保存统计
|
||||||
mapUserWsStat.Store(key, stat)
|
mapUserWsStat.Store(key, stat)
|
||||||
case TYPE_CUR_UNITY_HANDLE_COUNT: //unity处理计数
|
case TYPE_CUR_UNITY_HANDLE_COUNT: //unity处理计数
|
||||||
|
curUnityHandleTotalCount += data.Num
|
||||||
if !ok {
|
if !ok {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
@ -246,11 +247,11 @@ func ConsumeWebsocketStatData() {
|
||||||
logx.Error("断言mapUserWsStatItem错误")
|
logx.Error("断言mapUserWsStatItem错误")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
curUnityHandleTotalCount += data.Num
|
|
||||||
stat.CurUnityHandleCount += data.Num
|
stat.CurUnityHandleCount += data.Num
|
||||||
//保存统计
|
//保存统计
|
||||||
mapUserWsStat.Store(key, stat)
|
mapUserWsStat.Store(key, stat)
|
||||||
case TYPE_CUR_COMBINE_IMAGE_ERR_COUNT: //合图失败计数
|
case TYPE_CUR_COMBINE_IMAGE_ERR_COUNT: //合图失败计数
|
||||||
|
combineErrTotalCount += data.Num
|
||||||
if !ok {
|
if !ok {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
@ -260,11 +261,11 @@ func ConsumeWebsocketStatData() {
|
||||||
logx.Error("断言mapUserWsStatItem错误")
|
logx.Error("断言mapUserWsStatItem错误")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
combineErrTotalCount += data.Num
|
|
||||||
stat.CombineErrCount += data.Num
|
stat.CombineErrCount += data.Num
|
||||||
//保存统计
|
//保存统计
|
||||||
mapUserWsStat.Store(key, stat)
|
mapUserWsStat.Store(key, stat)
|
||||||
case TYPE_UNITY_ERR_COUNT: //unity错误信息
|
case TYPE_UNITY_ERR_COUNT: //unity错误信息
|
||||||
|
unityErrTotalCount += data.Num
|
||||||
if !ok {
|
if !ok {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
@ -274,7 +275,6 @@ func ConsumeWebsocketStatData() {
|
||||||
logx.Error("断言mapUserWsStatItem错误")
|
logx.Error("断言mapUserWsStatItem错误")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
unityErrTotalCount += data.Num
|
|
||||||
stat.UnityErrCount += data.Num
|
stat.UnityErrCount += data.Num
|
||||||
//保存统计
|
//保存统计
|
||||||
mapUserWsStat.Store(key, stat)
|
mapUserWsStat.Store(key, stat)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user