mirror of https://github.com/rq/rq.git
fix job.delete with remove_from_queue=False (#1601)
This commit is contained in:
parent
97caa841ff
commit
3f5e94aa8c
|
@ -792,7 +792,7 @@ class Job:
|
|||
|
||||
connection = pipeline if pipeline is not None else self.connection
|
||||
|
||||
self._remove_from_registries(pipeline=pipeline, remove_from_queue=True)
|
||||
self._remove_from_registries(pipeline=pipeline, remove_from_queue=remove_from_queue)
|
||||
|
||||
if delete_dependents:
|
||||
self.delete_dependents(pipeline=pipeline)
|
||||
|
|
Loading…
Reference in New Issue