临时去除移除房间列表数据
This commit is contained in:
@@ -29,7 +29,7 @@ public class HomeRoomPoolService {
|
||||
}
|
||||
|
||||
public void removeRoom(Integer partitionId, Long roomUid){
|
||||
getPartitionMap(partitionId).fastRemove(roomUid);
|
||||
// getPartitionMap(partitionId).fastRemove(roomUid);
|
||||
log.info("[HomeRoomPool] removeRoom partitionId: {}, roomUid: {}", partitionId, roomUid);
|
||||
}
|
||||
|
||||
|
@@ -292,7 +292,7 @@ public class HomeV2Service {
|
||||
String[] uidArray = homeRoomSet.stream().map(Objects::toString).toArray(String[]::new);
|
||||
List<String> cacheList = jedisService.hmread(RedisKey.room_mic_up.getKey(), uidArray);
|
||||
if (CollectionUtils.isEmpty(cacheList)){
|
||||
poolService.getPartitionMap(partitionId).clear();
|
||||
// poolService.getPartitionMap(partitionId).clear();
|
||||
return ;
|
||||
}
|
||||
|
||||
@@ -305,7 +305,7 @@ public class HomeV2Service {
|
||||
}
|
||||
|
||||
Long[] emptyRoomList = homeRoomSet.toArray(Long[]::new);
|
||||
poolService.getPartitionMap(partitionId).fastRemove(emptyRoomList);
|
||||
// poolService.getPartitionMap(partitionId).fastRemove(emptyRoomList);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user