Skip to content
Snippets Groups Projects
Commit b9ae39f0 authored by Bill Brophy's avatar Bill Brophy Committed by David Bigagli
Browse files

MaxSubmitJobs limits submissions a job too early.

parent c269f471
No related branches found
No related tags found
No related merge requests found
...@@ -700,7 +700,7 @@ extern bool acct_policy_validate(job_desc_msg_t *job_desc, ...@@ -700,7 +700,7 @@ extern bool acct_policy_validate(job_desc_msg_t *job_desc,
if ((!used_limits && if ((!used_limits &&
qos_ptr->max_submit_jobs_pu == 0) || qos_ptr->max_submit_jobs_pu == 0) ||
(used_limits && (used_limits &&
((used_limits->submit_jobs + job_cnt) >= ((used_limits->submit_jobs + job_cnt) >
qos_ptr->max_submit_jobs_pu))) { qos_ptr->max_submit_jobs_pu))) {
debug2("job submit for user %s(%u): " debug2("job submit for user %s(%u): "
"qos max submit job limit exceeded %u", "qos max submit job limit exceeded %u",
......
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