diff --git a/apps/node_man/tools/job.py b/apps/node_man/tools/job.py index a30e052a39..d69e64ebeb 100644 --- a/apps/node_man/tools/job.py +++ b/apps/node_man/tools/job.py @@ -167,8 +167,6 @@ def update_job_statistics(cls, job: models.Job, status_counter: Dict[str, int]): statistics[f"{status.lower()}_count"] = sum([counter.get(status, 0) for counter in status_counter_list]) statistics["total_count"] = sum(statistics.values()) - job.status = constants.JobStatusType.RUNNING - if statistics["total_count"] == 0: # 总数为零,认为是任务准备阶段 job.status = constants.JobStatusType.PENDING