debug g deposit forward
This commit is contained in:
parent
4398c2b2e3
commit
d41bf0f56c
4
job.go
4
job.go
@ -740,14 +740,14 @@ func jobGDepositForward(j Job) {
|
||||
cwm, err := parseSubTypeMessageGDepositReq(msg, rule.re)
|
||||
|
||||
if cwm.ItemID64 == p.ItemID64 && cwm.Quantity == p.Quantity {
|
||||
//log.Printf("jobGDepositForward : match (%d / %d).\n", cwm.ItemID64, cwm.Quantity)
|
||||
log.Printf("jobGDepositForward : match (%d / %d).\n", cwm.ItemID64, cwm.Quantity)
|
||||
gDepositForwardMux.Lock()
|
||||
gDepositForwardMsg = append(gDepositForwardMsg, j.Trigger)
|
||||
gDepositForwardMux.Unlock()
|
||||
err = setJobDone(j.ID64)
|
||||
logOnError(err, "jobGDeposit : setJobDone")
|
||||
} 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())
|
||||
logOnError(err, "jobGDepositForward : rescheduleJob")
|
||||
setJobCallback(j.ID64, j.UserID64, objSubTypeMessageGDepositReq)
|
||||
|
Loading…
Reference in New Issue
Block a user