瀏覽代碼

二期 频安宝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();