diff --git a/job.go b/job.go index e78f11d..531dc93 100644 --- a/job.go +++ b/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 = ?;`)