mirror of https://github.com/rq/rq.git
Fix pipeline call.
This commit is contained in:
parent
76e2470c67
commit
fdf4abcf69
|
@ -433,7 +433,7 @@ class Job(object):
|
|||
cancellation. Technically, this call is (currently) the same as just
|
||||
deleting the job hash.
|
||||
"""
|
||||
pipeline = self.connection.pipeline()
|
||||
pipeline = self.connection._pipeline()
|
||||
self.delete(pipeline=pipeline)
|
||||
pipeline.delete(self.dependents_key)
|
||||
pipeline.execute()
|
||||
|
|
Loading…
Reference in New Issue