This commit is contained in:
laodaming 2023-11-02 15:09:47 +08:00
parent c8ff395fe4
commit ea859786da

View File

@ -230,11 +230,11 @@ func ConsumeWebsocketStatData() {
continue
}
stat.CurWsConnectCount += data.Num
//没有连接就删除
if stat.CurWsConnectCount <= 0 {
//没有连接就删除(先不删除)
/*if stat.CurWsConnectCount <= 0 {
mapUserWsStat.Delete(key)
continue
}
}*/
//保存统计
mapUserWsStat.Store(key, stat)
case TYPE_CUR_COMBINE_IMAGE_COUNT: //请求算法合图计数