修复错误的cron表达式,错误的表达式是每间隔10分钟开始执行,共执行60次,每次间隔1秒。修复后的cron表达式是每10分钟执行一次。

pull/1624/head
xubinbin 2024-09-14 10:35:32 +08:00
parent e438d5b2ad
commit 108511334f
1 changed files with 1 additions and 1 deletions

View File

@ -581,7 +581,7 @@ public class StreamProxyServiceImpl implements IStreamProxyService {
}
@Scheduled(cron = "* 0/10 * * * ?")
@Scheduled(cron = "0 0/10 * * * ?")
public void asyncCheckStreamProxyStatus() {
List<MediaServer> all = mediaServerService.getAllOnline();