testupdate get stash
This commit is contained in:
parent
a68e5b0f73
commit
9703bb19b2
3
job.go
3
job.go
@ -2112,7 +2112,7 @@ func jobGetStash(j Job) {
|
|||||||
busyUntil time.Time = time.Now().UTC()
|
busyUntil time.Time = time.Now().UTC()
|
||||||
)
|
)
|
||||||
for _, id := range p.ClientID64 {
|
for _, id := range p.ClientID64 {
|
||||||
clt, ok := getLockedClient(id, false)
|
if clt, ok := getLockedClient(id, false); ok {
|
||||||
if userID64 == 0 {
|
if userID64 == 0 {
|
||||||
userID64 = clt.TGUserID64
|
userID64 = clt.TGUserID64
|
||||||
busyUntil = clt.CWBusyUntil
|
busyUntil = clt.CWBusyUntil
|
||||||
@ -2121,6 +2121,7 @@ func jobGetStash(j Job) {
|
|||||||
busyUntil = clt.CWBusyUntil
|
busyUntil = clt.CWBusyUntil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
setJobCallback(j.ID64, userID64, cacheObjSubType[`msg_exchange_req`])
|
setJobCallback(j.ID64, userID64, cacheObjSubType[`msg_exchange_req`])
|
||||||
setJobCallback(j.ID64, userID64, cacheObjSubType[`msg_exchange_ack`])
|
setJobCallback(j.ID64, userID64, cacheObjSubType[`msg_exchange_ack`])
|
||||||
setJobCallback(j.ID64, userID64, cacheObjSubType[`msg_busy`])
|
setJobCallback(j.ID64, userID64, cacheObjSubType[`msg_busy`])
|
||||||
|
Loading…
Reference in New Issue
Block a user