From 29c4fba8ac7014c089d82c0c484985b29758f7ea Mon Sep 17 00:00:00 2001 From: Sake <1246665453@qq.com> Date: Mon, 2 Feb 2026 16:16:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=B6=85=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/core/transcode/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/core/transcode/task.go b/internal/core/transcode/task.go index 9bd7fb5..45427fe 100644 --- a/internal/core/transcode/task.go +++ b/internal/core/transcode/task.go @@ -250,7 +250,7 @@ func (wf *Workflow) executeTask(task *Task) { // 设置超时 timeNum := 12 * 60 * time.Minute if task.Duration > 0 { - timeNum = time.Duration(task.Duration) * time.Second + timeNum = time.Duration(task.Duration+30) * time.Second } ctx, cancel := context.WithTimeout(task.ctx, timeNum) defer cancel()