mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 22:31:55 +00:00
update
This commit is contained in:
parent
3405fb8262
commit
d750c30fb2
@ -239,7 +239,7 @@ func (allocator *Allocator) GA(nodes []NodeStatus, tasks []Task, useBestFit bool
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//fmt.Println(evaluatue(allocation))
|
//fmt.Println(evaluate(allocation))
|
||||||
//fmt.Println(allocation)
|
//fmt.Println(allocation)
|
||||||
|
|
||||||
cnt := 0
|
cnt := 0
|
||||||
@ -249,7 +249,7 @@ func (allocator *Allocator) GA(nodes []NodeStatus, tasks []Task, useBestFit bool
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if cnt != len(allocation.Tasks) && allocation.Flags["valid"] {
|
if cnt != len(allocation.Tasks) && allocation.Flags["valid"] {
|
||||||
log.Warn("1:", cnt, len(allocation.Tasks))
|
log.Warn("factory:", cnt, len(allocation.Tasks))
|
||||||
}
|
}
|
||||||
|
|
||||||
return allocation
|
return allocation
|
||||||
|
Loading…
Reference in New Issue
Block a user