Commit 24b52bd4 authored by David Anderson's avatar David Anderson
Browse files

scheduler: add result priority to job score

parent 644eade3
......@@ -127,6 +127,9 @@ bool JOB::get_score(WU_RESULT& wu_result) {
score -= 1;
}
}
score += wu_result.res_priority;
if (config.debug_send_job) {
log_messages.printf(MSG_NORMAL,
"[send_job]: score %f for result %lu\n", score, wu_result.resultid
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment