fix
This commit is contained in:
parent
c8ff395fe4
commit
ea859786da
|
@ -230,11 +230,11 @@ func ConsumeWebsocketStatData() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
stat.CurWsConnectCount += data.Num
|
stat.CurWsConnectCount += data.Num
|
||||||
//没有连接就删除
|
//没有连接就删除(先不删除)
|
||||||
if stat.CurWsConnectCount <= 0 {
|
/*if stat.CurWsConnectCount <= 0 {
|
||||||
mapUserWsStat.Delete(key)
|
mapUserWsStat.Delete(key)
|
||||||
continue
|
continue
|
||||||
}
|
}*/
|
||||||
//保存统计
|
//保存统计
|
||||||
mapUserWsStat.Store(key, stat)
|
mapUserWsStat.Store(key, stat)
|
||||||
case TYPE_CUR_COMBINE_IMAGE_COUNT: //请求算法合图计数
|
case TYPE_CUR_COMBINE_IMAGE_COUNT: //请求算法合图计数
|
||||||
|
|
Loading…
Reference in New Issue
Block a user