fix
This commit is contained in:
parent
4170f0ff95
commit
8df47bb0af
2
job.go
2
job.go
@ -142,7 +142,7 @@ func setJobPayload(jobID64 int64, payload []byte) error {
|
||||
zpayload := zb.Bytes()
|
||||
|
||||
if len(zpayload) > 20000 {
|
||||
return 0, errors.New("payload too long")
|
||||
return errors.New("payload too long")
|
||||
}
|
||||
|
||||
stmt, err := db.Prepare(`UPDATE obj_job j SET j.payload = ? WHERE j.obj_id = ?;`)
|
||||
|
Loading…
Reference in New Issue
Block a user