test
This commit is contained in:
parent
9b5fac7dde
commit
d52e58493a
5
job.go
5
job.go
@ -1435,7 +1435,6 @@ func jobGWithdraw(j Job) {
|
|||||||
p JobPayloadGWithdraw
|
p JobPayloadGWithdraw
|
||||||
reqTab map[int64]int64
|
reqTab map[int64]int64
|
||||||
doneTab map[int64]int64
|
doneTab map[int64]int64
|
||||||
inspectTab map[string]bool
|
|
||||||
)
|
)
|
||||||
|
|
||||||
log.Printf("jobGWithdraw[%d] : Starting.\n", j.ID64)
|
log.Printf("jobGWithdraw[%d] : Starting.\n", j.ID64)
|
||||||
@ -1456,8 +1455,6 @@ func jobGWithdraw(j Job) {
|
|||||||
doneTab[cacheObjSubType[`item_part`]] = 1 << 14
|
doneTab[cacheObjSubType[`item_part`]] = 1 << 14
|
||||||
doneTab[cacheObjSubType[`item_other`]] = 1 << 15
|
doneTab[cacheObjSubType[`item_other`]] = 1 << 15
|
||||||
|
|
||||||
inspectTab = make(map[string]bool)
|
|
||||||
|
|
||||||
err := setJobStart(j.ID64)
|
err := setJobStart(j.ID64)
|
||||||
logOnError(err, "jobGWithdraw : setJobStart")
|
logOnError(err, "jobGWithdraw : setJobStart")
|
||||||
|
|
||||||
@ -1531,7 +1528,7 @@ func jobGWithdraw(j Job) {
|
|||||||
createJob(cacheObjSubType[`job_msg_del`], objJobPriority, j.UserID64, 0, time.Now().UTC(), b2)
|
createJob(cacheObjSubType[`job_msg_del`], objJobPriority, j.UserID64, 0, time.Now().UTC(), b2)
|
||||||
|
|
||||||
if isUnique {
|
if isUnique {
|
||||||
for k, req := range p.Items {
|
for _, req := range p.Items {
|
||||||
if req.Inspect {
|
if req.Inspect {
|
||||||
p2 = JobPayloadMsgDel{
|
p2 = JobPayloadMsgDel{
|
||||||
MsgTypeID64: cacheObjSubType[`msg_g_inspect_req`],
|
MsgTypeID64: cacheObjSubType[`msg_g_inspect_req`],
|
||||||
|
Loading…
Reference in New Issue
Block a user