This commit is contained in:
shoopea 2020-01-26 21:58:40 +08:00
parent 6cd8b39a94
commit c4be5abc37

4
job.go
View File

@ -1915,12 +1915,12 @@ func jobGetVault(j Job) {
reqTab = make(map[int64]int64) reqTab = make(map[int64]int64)
for k, v := range items { for k, v := range items {
reqTab[cacheObjSubType[v]] = 1 << k reqTab[cacheObjSubType[v]] = 1 << uint(k)
} }
doneTab = make(map[int64]int64) doneTab = make(map[int64]int64)
for k, v := range items { for k, v := range items {
doneTab[cacheObjSubType[v]] = 1 << (10 + k) doneTab[cacheObjSubType[v]] = 1 << (10 + uint(k))
} }
err := setJobStart(j.ID64) err := setJobStart(j.ID64)