提交 4555b48d authored 作者: yangli's avatar yangli

删除

上级 5de68433
......@@ -2,7 +2,6 @@ package com.priusis.cache;
import cn.hutool.core.util.StrUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import java.io.BufferedReader;
......@@ -32,7 +31,7 @@ public class InstalledProgramCache {
}
@Scheduled(fixedDelay = 240000)
// @Scheduled(fixedDelay = 240000)
public void loadProgramListJob() {
log.info("load安装程序开始");
programInfoKey4NameCache.clear();
......@@ -176,7 +175,7 @@ public class InstalledProgramCache {
}
// 30分钟清除一次缓存
@Scheduled(fixedDelay = 1800000)
// @Scheduled(fixedDelay = 1800000)
public void clearProgramInfoCache() {
programInfoCache.clear();
}
......
......@@ -49,7 +49,7 @@ public class DeviceInfoController {
}
@Scheduled(fixedDelay = 600000)
protected void refresh() throws UnknownHostException {
protected void refresh() {
Sigar sigar = new Sigar();
decimalFormat.applyPattern("#.00");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论