From 67ae278a66802a43f33570f47a7827ccd6d24891 Mon Sep 17 00:00:00 2001 From: hantmac Date: Mon, 2 Dec 2019 11:14:15 +0800 Subject: [PATCH] fix --- backend/services/task.go | 1 + 1 file changed, 1 insertion(+) 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 } }