Commit b6a90a528c7b9ed91d162d9811270e80f2bf332b

Authored by 王明元
1 parent 90e8be74

2022年5月27日11:38:53

src/main/java/cn/fw/freya/task/DataCaptureTask.java
@@ -97,7 +97,7 @@ public class DataCaptureTask { @@ -97,7 +97,7 @@ public class DataCaptureTask {
97 /** 97 /**
98 * 每2分钟执行抓取数据 98 * 每2分钟执行抓取数据
99 */ 99 */
100 - //@Scheduled(fixedRate = 2 * 60 * 1000, initialDelay = 5000) 100 + @Scheduled(fixedRate = 2 * 60 * 1000, initialDelay = 5000)
101 public void captureLivePlayback() { 101 public void captureLivePlayback() {
102 final Random random = new Random(); 102 final Random random = new Random();
103 List<LivePool> withoutPlaybackLive = common.getWithoutPlaybackLive(1, 60d) 103 List<LivePool> withoutPlaybackLive = common.getWithoutPlaybackLive(1, 60d)