修改录制时长

This commit is contained in:
孙小云 2025-04-24 16:42:53 +08:00
parent 613d6d3dc5
commit 03a23330bb
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public class TaskService implements ITaskService{
public void cleaTask() {
for (ConcurrentHashMap.Entry<String, StreamTask> entry : runningTasks.entrySet()) {
StreamTask streamTask = entry.getValue();
if(streamTask.getStartTime().getTime() < new Date().getTime() - 30 * 60 * 1000 ) {
if(streamTask.getStartTime().getTime() < new Date().getTime() - 90 * 60 * 1000 ) {
logger.info("清理废弃任务 {}", JSON.toJSONString(streamTask));
try {
StreamTask s = stopTask(entry.getKey());