Selaa lähdekoodia

调整定时任务执行间隙

buzhanyi 1 vuosi sitten
vanhempi
commit
0ffd7e6301
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      vehicle-sdk/src/main/java/com/ozs/config/ShotExecutors.java

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

@@ -34,7 +34,7 @@ public class ShotExecutors {
      * 定时清除流媒体压缩视频
      */
     @Async
-    @Scheduled(fixedRate = 3000)
+    @Scheduled(fixedRate = 3)
     public void handleAlarmPicture() {
         cameraUtil.heartbeatGetPlayFlv();
     }