Ver código fonte

修改task_runner run runTask stoped处理错误

yjp 7 meses atrás
pai
commit
81f399ebed
1 arquivos alterados com 1 adições e 1 exclusões
  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
 	}