mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-05 09:18:12 +08:00
Makes bulk a general setting
This commit is contained in:
@@ -13,7 +13,7 @@ class IronMQBroker(Broker):
|
||||
t = self.task_cache.pop()
|
||||
else:
|
||||
timeout = Conf.RETRY or None
|
||||
tasks = self.connection.get(timeout=timeout, wait=1, max=Conf.IRON_MQ_MAX)['messages']
|
||||
tasks = self.connection.get(timeout=timeout, wait=1, max=Conf.BULK)['messages']
|
||||
if tasks:
|
||||
t = tasks.pop()
|
||||
if tasks:
|
||||
|
||||
Reference in New Issue
Block a user