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