1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-16 16:36:45 +00:00
This commit is contained in:
2020-04-26 18:48:49 +08:00
parent 6730dfc58e
commit 856e65c9dd
3 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ func (optimizer *Optimizer) feed(job string, utils []int) {
}
postCnt := 0
for i := len(utils); i >= 0; i-- {
for i := len(utils)-1; i >= 0; i-- {
if utils[i] > 15 {
break
}