1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-12 23:36:44 +00:00
This commit is contained in:
2020-05-04 12:48:29 +08:00
parent a50df2b46f
commit b6516496bc

View File

@@ -459,7 +459,7 @@ func (scheduler *SchedulerFair) AcquireResource(job Job, task Task, nodes []Node
if valid2 {
now := (int)(time.Now().Unix())
log.Info(s, now, estimate, est)
if now-s > est.Total-est.Post-estimate.Pre-15 && status.MemoryFree > task.MemoryGPU {
if now-s > est.Total-est.Post-estimate.Pre-15 {
available = append(available, status)
}
}