feat(房间): 首页房间缓存10分钟
This commit is contained in:
parent
743694f106
commit
abce8cbf3c
@ -87,7 +87,7 @@ public class RoomVoiceDiscoverQryExe {
|
|||||||
room.setUserSVipLevel(svipLevelEnumMap.get(room.getUserId()));
|
room.setUserSVipLevel(svipLevelEnumMap.get(room.getUserId()));
|
||||||
})
|
})
|
||||||
.toList();
|
.toList();
|
||||||
// regionRoomCacheService.saveRegionsRoom(JSON.toJSONString(roomList), key);
|
regionRoomCacheService.saveRegionsRoom(JSON.toJSONString(roomList), key);
|
||||||
return roomList;
|
return roomList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,7 @@ public class RegionRoomCacheServiceImpl implements RegionRoomCacheService {
|
|||||||
|
|
||||||
private final RedisService redisService;
|
private final RedisService redisService;
|
||||||
private static final long CACHE_DAYS = 3;
|
private static final long CACHE_DAYS = 3;
|
||||||
private static final long CACHE_TIME = 2;
|
private static final long CACHE_TIME = 10;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void remove(String key) {
|
public void remove(String key) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user