From cf325f819947c6a999db1e19518f0a37dba8e5df Mon Sep 17 00:00:00 2001 From: Ilan Date: Fri, 24 Jul 2015 10:52:30 +0200 Subject: [PATCH] queue block is true by default. --- django_q/cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_q/cluster.py b/django_q/cluster.py index 59e57b1..00e1929 100644 --- a/django_q/cluster.py +++ b/django_q/cluster.py @@ -314,7 +314,7 @@ def pusher(task_queue, event, list_key=Conf.Q_LIST, r=redis_client): sleep(10) break if task: - task_queue.put(task[1], block=True) + task_queue.put(task[1]) logger.debug(_('queueing from {}').format(list_key)) if event.is_set(): break