diff --git a/backend/services/task.go b/backend/services/task.go index e862c36e..25b15aeb 100644 --- a/backend/services/task.go +++ b/backend/services/task.go @@ -305,6 +305,7 @@ func ExecuteTask(id int) { if flag, ok := LockList.Load(id); ok { if flag.(bool) { log.Debugf(GetWorkerPrefix(id) + "正在执行任务...") + return } }