From 173f15e968a7b372c886d8f06935777809cfe0e5 Mon Sep 17 00:00:00 2001 From: Little-King2022 Date: Fri, 14 Nov 2025 23:09:47 +0800 Subject: [PATCH] fix: modified the isCreate condition in downloader.go to include DownloadStatusWait status --- pkg/download/downloader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/download/downloader.go b/pkg/download/downloader.go index 35d54147c..e49f05e6c 100644 --- a/pkg/download/downloader.go +++ b/pkg/download/downloader.go @@ -1016,7 +1016,7 @@ func (d *Downloader) doStart(task *Task) (err error) { d.Logger.Error().Stack().Err(err).Msgf("restore fetcher failed, task id: %s", task.ID) return } - isCreate = task.Status == base.DownloadStatusReady + isCreate = task.Status == base.DownloadStatusReady || task.Status == base.DownloadStatusWait task.updateStatus(base.DownloadStatusRunning) return