use MONGO_ settings for broker

This commit is contained in:
James Turk 2011-09-27 17:24:47 -04:00
parent cad6ceb4f7
commit d1df737474

View File

@ -3,8 +3,10 @@ from oyster.conf import settings
CELERY_IMPORTS = ("oyster.tasks",)
BROKER_TRANSPORT = 'mongodb'
CELERY_RESULT_BACKEND = 'mongodb'
BROKER_HOST = settings.MONGO_HOST
BROKER_PORT = settings.MONGO_PORT
CELERY_RESULT_BACKEND = 'mongodb'
CELERY_MONGODB_BACKEND_SETTINGS = {
'host': settings.MONGO_HOST,
'port': settings.MONGO_PORT,