把本地文件上传到minio服务的频率修改为5分

This commit is contained in:
2026-04-04 09:14:09 +08:00
parent 349b020d84
commit f73c027894
4 changed files with 703 additions and 2 deletions

View File

@@ -42,9 +42,9 @@ public class AudioStatisticsScheduler {
private MinIOService minIOService;
/**
* 每 5 :将仅有本地路径、尚未写入 MinIO URL 的录音分段补传到 Minio 并回写 audio_file_url。
* 每 5 分钟:将仅有本地路径、尚未写入 MinIO URL 的录音分段补传到 Minio 并回写 audio_file_url。
*/
@Scheduled(fixedRate = 50000)
@Scheduled(fixedRate = 300000)
public void uploadLocalSegmentFilesToMinio() {
if (!appConfig.getScheduler().isStart()) {
return;