Explorar o código

修改task_runner run runTask stoped处理错误

yjp hai 7 meses
pai
achega
81f399ebed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 	}