Skip to content

Commit

Permalink
fix: 방 이름으로 검색 limit 해제 (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
student079 authored Nov 27, 2024
1 parent a991eff commit ab37b13
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions be/gameServer/src/modules/rooms/rooms.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,9 @@ export class RoomController {
)
).flat();

const limitedRoomIds = roomIds.slice(0, ROOM_LIMIT);

this.logger.log(`roomData ${limitedRoomIds.length}개 반환`);
this.logger.log(`roomData ${roomIds.length}개 반환`);
return await Promise.all(
limitedRoomIds.map(async (roomId) => {
roomIds.map(async (roomId) => {
const roomData = await this.redisService.hgetAll<RoomDataDto>(
`room:${roomId}`,
);
Expand Down

0 comments on commit ab37b13

Please sign in to comment.