fix setJobPayload
This commit is contained in:
parent
c5dddf20f0
commit
5fab2a7fa6
2
job.go
2
job.go
@ -166,8 +166,8 @@ func setJobPayloadJSONUnsafe(jobID64 int64, payload interface{}) error {
|
||||
|
||||
func setJobPayload(jobID64 int64, payload []byte) error {
|
||||
muxObjJob.Lock()
|
||||
return setJobPayloadUnsafe(jobID64, payload)
|
||||
defer muxObjJob.Unlock()
|
||||
return setJobPayloadUnsafe(jobID64, payload)
|
||||
}
|
||||
|
||||
func setJobPayloadUnsafe(jobID64 int64, payload []byte) error {
|
||||
|
Loading…
Reference in New Issue
Block a user