Эх сурвалжийг харах

修改task_runner run runTask stoped处理错误

yjp 7 сар өмнө
parent
commit
81f399ebed

+ 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
 	}