一分钟看一次报错信息

master
杜函宇 1 month ago
parent 9bdae5f895
commit 0c88cb8ee4

@ -92,12 +92,7 @@ public class PushQuartz {
// 保存日志
remoteLogService.save(remoteLog);
}catch (Exception e){
if(redisCache.hasKey("isNo")){
redisCache.deleteObject("isNo");
redisCache.setCacheObject("isNo", DateUtil.now(),6, TimeUnit.HOURS);
}else {
redisCache.setCacheObject("isNo", DateUtil.now(),6, TimeUnit.HOURS);
}
redisCache.setCacheObject("isNo", DateUtil.now(),1, TimeUnit.MINUTES);
}
}
}

Loading…
Cancel
Save