Remove Redis and optimize initialization code

This commit is contained in:
longguancheng 2026-03-10 16:36:27 +08:00
parent d8182a14f2
commit 4346b05d40
3 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ public class CacheWatcherUltimate {
private final CacheManager cacheManager;
@Scheduled(fixedDelay = 30000)
@Scheduled(fixedDelay = 60000)
public void watchCaches() {
log.info("========== CACHE STATUS BEGIN ==========");
for (String name : cacheManager.getCacheNames()) {

View File

@ -113,9 +113,9 @@ public class JmTaskScheduler {
if (!hasConnectedFlag || Objects.isNull(status)) {
try {
controlInfoService.sendUdp(ip, SarControlTypeEnum.CONNECT);
log.info("尝试连接 SAR IP: {}", ip);
log.debug("尝试连接 SAR IP: {}", ip);
} catch (SarConnectException ex) {
log.warn("连接雷达[{}]失败:{}", ip, ex.getMessage());
log.debug("连接雷达[{}]失败:{}", ip, ex.getMessage());
}
}
});

View File

@ -80,7 +80,7 @@ public class SarWaveUdpProcessor extends SarAbstractUdpProcessor<SarWavePacketGr
@Override
protected void expireProcess(SarWavePacketGroupDTO group) {
log.warn(getText() + "-移除超时帧: {}", group.getSessionId());
log.warn("{}-移除超时帧: {}", getText(), group.getSessionId());
}
@Override