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