Makes bulk a general setting

This commit is contained in:
Ilan Steemers
2015-09-08 13:42:15 +02:00
parent 0ffae4519b
commit 83548dcfbb
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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: