mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
fix
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user