Browse Source

二期 频安宝bug

suntianwu 3 năm trước cách đây
mục cha
commit
ad51ae415b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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();