mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-13 07:46:43 +00:00
update
This commit is contained in:
@@ -686,7 +686,6 @@ func (pool *ResourcePool) acquireResource(job Job) []NodeStatus {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.Info(candidates, cur)
|
|
||||||
if len(candidates) >= len(job.Tasks)*3+5 {
|
if len(candidates) >= len(job.Tasks)*3+5 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
@@ -721,6 +720,7 @@ func (pool *ResourcePool) acquireResource(job Job) []NodeStatus {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
log.Info(candidates, cur)
|
||||||
if len(candidates) >= len(job.Tasks)*3+5 {
|
if len(candidates) >= len(job.Tasks)*3+5 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user