IronMQ broker

This commit is contained in:
Ilan Steemers
2015-09-08 11:20:31 +02:00
parent 2078080945
commit b56cc9da8f
9 changed files with 106 additions and 6 deletions
+4 -1
View File
@@ -37,6 +37,9 @@ class Conf(object):
# Optional Authentication
DISQUE_AUTH = conf.get('disque_auth', None)
# IronMQ broker
IRON_MQ = conf.get('iron_mq', None)
# Name of the cluster or site. For when you run multiple sites on one redis server
PREFIX = conf.get('name', 'default')
@@ -62,7 +65,7 @@ class Conf(object):
WORKERS = 4
# Maximum number of tasks that each cluster can work on
QUEUE_LIMIT = conf.get('queue_limit', int(WORKERS)**2)
QUEUE_LIMIT = conf.get('queue_limit', int(WORKERS) ** 2)
# Sets compression of redis packages
COMPRESSED = conf.get('compress', False)