Don't run lrem directly if we have a pipeline

main
Michael DeWulf 8 years ago
parent 6721463fdf
commit 9e8922a099

@ -150,6 +150,7 @@ class Queue(object):
if pipeline is not None:
pipeline.lrem(self.key, 1, job_id)
return
return self.connection._lrem(self.key, 1, job_id)

Loading…
Cancel
Save