1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-07 22:31:55 +00:00
This commit is contained in:
Newnius 2020-05-26 21:11:11 +08:00
parent 718341d86b
commit c9e41fd12a

View File

@ -686,7 +686,6 @@ func (pool *ResourcePool) acquireResource(job Job) []NodeStatus {
}
}
}
log.Info(candidates, cur)
if len(candidates) >= len(job.Tasks)*3+5 {
break
}
@ -721,6 +720,7 @@ func (pool *ResourcePool) acquireResource(job Job) []NodeStatus {
}
}
}
log.Info(candidates, cur)
if len(candidates) >= len(job.Tasks)*3+5 {
break
}