The code only distinguishes between a newly generated health check and submitted jobs. If the health check cannot run immediately, it just becomes another submitted job and the sequence is then calculated by submit_time.
Need to check the job to see if it is a health check.
Also, the job_list is an unordered set, so the ordering from the DB query is being lost. Patch in development.
The code only distinguishes between a newly generated health check and submitted jobs. If the health check cannot run immediately, it just becomes another submitted job and the sequence is then calculated by submit_time.
Need to check the job to see if it is a health check.
Also, the job_list is an unordered set, so the ordering from the DB query is being lost. Patch in development.