From 9e8922a099b0599aa26a424d90865147a821a931 Mon Sep 17 00:00:00 2001 From: Michael DeWulf Date: Thu, 8 Dec 2016 10:33:18 -0600 Subject: [PATCH] Don't run lrem directly if we have a pipeline --- rq/queue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rq/queue.py b/rq/queue.py index e9772f1..417141a 100644 --- a/rq/queue.py +++ b/rq/queue.py @@ -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)