This commit is contained in:
laodaming 2023-09-07 10:10:10 +08:00
parent e800b18325
commit bc3719065b

View File

@ -313,6 +313,7 @@ func ConsumeUserConnPoolCtlChanData(ctx context.Context) {
}
case 1: //添加
logx.Info("添加用户id索引标识", data.uniqueId)
//存在这个用户的map池子
if mapUserUniqueId, ok := mapUserConnPool[key]; ok {
mapUserUniqueId[data.uniqueId] = struct{}{}
} else {