This commit is contained in:
shoopea 2019-12-16 18:23:46 +08:00
parent 5c20f64966
commit aa4755fc22
2 changed files with 5 additions and 1 deletions

View File

@ -52,3 +52,7 @@ func cronSetDef() {
muxClients.RUnlock() muxClients.RUnlock()
return return
} }
func cronGetHammerTime() {
}

2
job.go
View File

@ -889,7 +889,7 @@ func jobGDepositForward(j Job) {
gDepositForwardMsg = append(gDepositForwardMsg, j.Trigger) gDepositForwardMsg = append(gDepositForwardMsg, j.Trigger)
gDepositForwardMux.Unlock() gDepositForwardMux.Unlock()
err = setJobDone(j.ID64) err = setJobDone(j.ID64)
logOnError(err, "jobGDeposit : setJobDone") logOnError(err, "jobGDepositForward : setJobDone")
} else { } else {
//log.Printf("jobGDepositForward : found (%d / %d), expected (%d / %d).\n", cwm.ItemID64, cwm.Quantity, p.ItemID64, p.Quantity) //log.Printf("jobGDepositForward : found (%d / %d), expected (%d / %d).\n", cwm.ItemID64, cwm.Quantity, p.ItemID64, p.Quantity)
err = rescheduleJob(j.ID64, 0, time.Unix(maxUnixTimestamp, 0).UTC()) err = rescheduleJob(j.ID64, 0, time.Unix(maxUnixTimestamp, 0).UTC())