test
This commit is contained in:
parent
9b5fac7dde
commit
d52e58493a
11
job.go
11
job.go
@ -1432,10 +1432,9 @@ func jobVaultUserStatus(j Job) {
|
|||||||
|
|
||||||
func jobGWithdraw(j Job) {
|
func jobGWithdraw(j Job) {
|
||||||
var (
|
var (
|
||||||
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