This commit is contained in:
laodaming 2023-10-31 14:28:36 +08:00
parent 51f8b68b5b
commit 33f8742ad1

View File

@ -96,7 +96,7 @@ func ConsumeWebsocketStatData(ctx context.Context) {
if ok { //存在就累加
mapUserWsStat.Store(key, statCount.(int)+data.Value)
} else { //不存在就赋值
mapUserWsStat.Store(key, statCount.(int))
mapUserWsStat.Store(key, data.Value)
}
currentWebsocketConnectCount += data.Value
case TYPE_COMBINE_IMAGE_REQUEST_COUNT: //请求算法合图计数