Fixed redis drivers bug

main
Vlad Pronsky 10 years ago
parent 30b21ef06e
commit 933e6697cd

@ -194,7 +194,7 @@ class Queue(object):
if depends_on is not None:
if not isinstance(depends_on, self.job_class):
depends_on = Job(id=depends_on, connection=self.connection)
with self.connection.pipeline() as pipe:
with self.connection._pipeline() as pipe:
while True:
try:
pipe.watch(depends_on.key)

Loading…
Cancel
Save