fix unique
This commit is contained in:
parent
1c28877a71
commit
9b5fac7dde
3
job.go
3
job.go
@ -1530,6 +1530,7 @@ func jobGWithdraw(j Job) {
|
|||||||
b2, _ := json.Marshal(p2)
|
b2, _ := json.Marshal(p2)
|
||||||
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 {
|
||||||
for k, req := range p.Items {
|
for k, req := range p.Items {
|
||||||
if req.Inspect {
|
if req.Inspect {
|
||||||
p2 = JobPayloadMsgDel{
|
p2 = JobPayloadMsgDel{
|
||||||
@ -1553,7 +1554,7 @@ func jobGWithdraw(j Job) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if id == cacheObjSubType[`msg_msg_job_gwithdraw_ack`] {
|
if id == cacheObjSubType[`msg_msg_job_gwithdraw_ack`] {
|
||||||
|
Loading…
Reference in New Issue
Block a user