소스 검색

二期 频安宝bug

suntianwu 3 년 전
부모
커밋
ad51ae415b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/java/com/care/mqtt/schedule/MqttMsgSchedule.java

+ 2 - 2
src/main/java/com/care/mqtt/schedule/MqttMsgSchedule.java

@@ -24,9 +24,9 @@ public class MqttMsgSchedule {
    @Autowired
     private MqttMsgRedisService mqttMsgRedisService;
     /**
-     * 5 秒钟调用一次
+     * 10 秒钟调用一次
      */
-    @Scheduled(cron = "0/5 * * * * ?")
+    @Scheduled(cron = "0/10 * * * * ?")
     public void rotationRedis() {
         try {
             mqttMsgRedisService.rotationRedis();