use MONGO_ settings for broker
This commit is contained in:
parent
cad6ceb4f7
commit
d1df737474
@ -3,8 +3,10 @@ from oyster.conf import settings
|
|||||||
CELERY_IMPORTS = ("oyster.tasks",)
|
CELERY_IMPORTS = ("oyster.tasks",)
|
||||||
|
|
||||||
BROKER_TRANSPORT = 'mongodb'
|
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 = {
|
CELERY_MONGODB_BACKEND_SETTINGS = {
|
||||||
'host': settings.MONGO_HOST,
|
'host': settings.MONGO_HOST,
|
||||||
'port': settings.MONGO_PORT,
|
'port': settings.MONGO_PORT,
|
||||||
|
Loading…
Reference in New Issue
Block a user