Pārlūkot izejas kodu

修改task_runner run runTask stoped处理错误

yjp 7 mēneši atpakaļ
vecāks
revīzija
81f399ebed
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      convenient/domain/task_runner/task_runner.go

+ 1 - 1
convenient/domain/task_runner/task_runner.go

@@ -313,7 +313,7 @@ func runTask(taskEntity *task.Entity, runner Runner, dbSchema string, dbExecutor
 		return
 	}
 
-	if stopped {
+	if !stopped {
 		return
 	}