fix(文件中心):冷热数据切换逻辑完善,已实现时间窗口查询各自的存储服务
This commit is contained in:
+2
-2
@@ -44,8 +44,8 @@ public class TimeWindowStorageService {
|
||||
private FileMapper fileMapper;
|
||||
|
||||
// 配置参数
|
||||
@Value("${zlt.storage.hot-data-days:30}")
|
||||
private int hotDataDays; // 热数据保留天数,默认30天
|
||||
// @Value("${zlt.storage.hot-data-days}")
|
||||
private int hotDataDays = 30; // 热数据保留天数,默认30天
|
||||
|
||||
// @Value("${zlt.storage.enable-time-window:true}")
|
||||
private boolean enableTimeWindow = true; // 是否启用时间窗口存储
|
||||
|
||||
Reference in New Issue
Block a user