Browse Source

调整定时任务执行间隙

buzhanyi 1 year ago
parent
commit
6634b86153
1 changed files with 2 additions and 1 deletions
  1. 2 1
      vehicle-sdk/src/main/java/com/ozs/config/ShotExecutors.java

+ 2 - 1
vehicle-sdk/src/main/java/com/ozs/config/ShotExecutors.java

@@ -30,7 +30,8 @@ public class ShotExecutors {
      * 定时清除流媒体压缩视频
      */
     @Async
-    @Scheduled(fixedRate = 3000)
+    @Scheduled(fixedRate = 3)
     public void handleAlarmPicture() {
+        System.out.println("1");
     }
 }