This commit is contained in:
laodaming 2023-09-04 14:36:32 +08:00
parent 030d9f8ab3
commit c518b5a68d

View File

@ -279,7 +279,7 @@ func ConsumeUserPoolData(ctx context.Context) {
if !ok {
continue
}
for _, uniqueId := range mapUserUniqueId {
for uniqueId, _ := range mapUserUniqueId {
//根据uniqueId查询原始池中连接
mapConnPoolVal, ok := mapConnPool.Load(uniqueId)
if !ok {