diff --git a/oyster/celeryconfig.py b/oyster/celeryconfig.py index a1c6af6..a68dddc 100644 --- a/oyster/celeryconfig.py +++ b/oyster/celeryconfig.py @@ -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,