This commit is contained in:
shoopea 2020-02-29 19:31:49 +08:00
parent 74b37fc688
commit 8c7ac0d8f9

7
job.go
View File

@ -2145,10 +2145,11 @@ func jobAlchAll(j Job) {
list = append(list, 0) list = append(list, 0)
copy(list[i+1:], list[i:]) copy(list[i+1:], list[i:])
list[i] = k list[i] = k
break
} }
if !itemInserted { }
list = append(list, k) if !itemInserted {
} list = append(list, k)
} }
} }
} }