This commit is contained in:
Kenneth Kehl
2024-11-19 08:10:17 -08:00
parent c45a5a387b
commit 8945f843be

View File

@@ -123,13 +123,13 @@ def check_job_status():
.scalars() .scalars()
.all() .all()
) )
# print(f"HERE IS JOBS {jobs_not_complete_after_30_minutes}") print(f"HERE IS JOBS {jobs_not_complete_after_30_minutes}")
# temporarily mark them as ERROR so that they don't get picked up by future check_job_status tasks # temporarily mark them as ERROR so that they don't get picked up by future check_job_status tasks
# if they haven't been re-processed in time. # if they haven't been re-processed in time.
job_ids = [] job_ids = []
for job in jobs_not_complete_after_30_minutes: for job in jobs_not_complete_after_30_minutes:
# print(f"HERE IS A JOB {job}") print(f"HERE IS A JOB {job}")
# job.job_status = JobStatus.ERROR # job.job_status = JobStatus.ERROR
# print("CHANGED JOB STATUS TO ERROR") # print("CHANGED JOB STATUS TO ERROR")
# dao_update_job(job) # dao_update_job(job)