fix job.delete with remove_from_queue=False (#1601)

This commit is contained in:
Kirill Arkhipenko 2021-12-11 14:14:02 +03:00 committed by GitHub
parent 97caa841ff
commit 3f5e94aa8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)