mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-25 16:18:12 +08:00
queue block is true by default.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user