fix
This commit is contained in:
parent
51f8b68b5b
commit
33f8742ad1
@ -96,7 +96,7 @@ func ConsumeWebsocketStatData(ctx context.Context) {
|
|||||||
if ok { //存在就累加
|
if ok { //存在就累加
|
||||||
mapUserWsStat.Store(key, statCount.(int)+data.Value)
|
mapUserWsStat.Store(key, statCount.(int)+data.Value)
|
||||||
} else { //不存在就赋值
|
} else { //不存在就赋值
|
||||||
mapUserWsStat.Store(key, statCount.(int))
|
mapUserWsStat.Store(key, data.Value)
|
||||||
}
|
}
|
||||||
currentWebsocketConnectCount += data.Value
|
currentWebsocketConnectCount += data.Value
|
||||||
case TYPE_COMBINE_IMAGE_REQUEST_COUNT: //请求算法合图计数
|
case TYPE_COMBINE_IMAGE_REQUEST_COUNT: //请求算法合图计数
|
||||||
|
Loading…
x
Reference in New Issue
Block a user