migrate from BROKER_URL to CELERY_BROKER_URL

This commit is contained in:
j 2019-07-16 20:58:10 +01:00
commit 2c41b17bc4
5 changed files with 21 additions and 14 deletions

View file

@ -24,7 +24,7 @@ DATABASES = {
'PORT': 5432,
}
}
BROKER_URL = "amqp://{0}:{1}@rabbitmq:5672//".format(os.environ.get('RABBITMQ_DEFAULT_USER'), os.environ.get('RABBITMQ_DEFAULT_PASS'))
CELERY_BROKER_URL = "amqp://{0}:{1}@rabbitmq:5672//".format(os.environ.get('RABBITMQ_DEFAULT_USER'), os.environ.get('RABBITMQ_DEFAULT_PASS'))
XACCELREDIRECT = True
DEBUG = False