mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 14:21:55 +00:00
update
This commit is contained in:
parent
fa85803c70
commit
718341d86b
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user