mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-06-10 23:47:29 +00:00
fix: 缓存清理异常日志级别从 debug 改为 warn,确保生产环境可见
审查发现数据库异常时 debug 级别会被静默吞掉,运维无法感知。
This commit is contained in:
@@ -68,7 +68,7 @@ public class PostExecVerticle extends AbstractVerticle {
|
|||||||
cn.qaiu.lz.common.cache.CacheManager cacheManager = new cn.qaiu.lz.common.cache.CacheManager();
|
cn.qaiu.lz.common.cache.CacheManager cacheManager = new cn.qaiu.lz.common.cache.CacheManager();
|
||||||
cacheManager.cleanupExpiredCache();
|
cacheManager.cleanupExpiredCache();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOGGER.debug("定时清理缓存任务跳过(数据库可能未就绪)", e);
|
LOGGER.warn("定时清理缓存任务跳过(数据库可能未就绪)", e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user