Skip to content
Snippets Groups Projects
Commit f4f82eb7 authored by Morris Jette's avatar Morris Jette
Browse files

Merge branch 'slurm-2.3'

parents 8f647e6b 3d9033f3
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,7 @@ extern uint32_t priority_p_set(uint32_t last_prio, struct job_record *job_ptr)
{
uint32_t new_prio = 1;
if (job_ptr->direct_set_prio)
if (job_ptr->direct_set_prio && (job_ptr->priority > 1))
return job_ptr->priority;
if (last_prio >= 2)
......
......@@ -531,7 +531,7 @@ static uint32_t _get_priority_internal(time_t start_time,
double priority = 0.0;
priority_factors_object_t pre_factors;
if (job_ptr->direct_set_prio)
if (job_ptr->direct_set_prio && (job_ptr->priority > 1))
return job_ptr->priority;
if (!job_ptr->details) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment