Browse Source

修改task_runner run runTask stoped处理错误

yjp 7 months ago
parent
commit
81f399ebed
1 changed files with 1 additions and 1 deletions
  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
 	}