mirror of https://github.com/rq/rq.git
Job.requeue() doesn't return the job (#1265)
This commit is contained in:
parent
23d43874b6
commit
29222ea12f
|
@ -577,7 +577,7 @@ class Job(object):
|
||||||
|
|
||||||
def requeue(self):
|
def requeue(self):
|
||||||
"""Requeues job."""
|
"""Requeues job."""
|
||||||
self.failed_job_registry.requeue(self)
|
return self.failed_job_registry.requeue(self)
|
||||||
|
|
||||||
def delete(self, pipeline=None, remove_from_queue=True,
|
def delete(self, pipeline=None, remove_from_queue=True,
|
||||||
delete_dependents=False):
|
delete_dependents=False):
|
||||||
|
|
Loading…
Reference in New Issue