migrate celery settings to BROKER_URL
This commit is contained in:
parent
274a8ffcca
commit
35d978d4c2
3 changed files with 22 additions and 6 deletions
|
|
@ -170,11 +170,8 @@ DATABASES = {
|
|||
|
||||
#rabbitmq connection settings
|
||||
CELERY_RESULT_BACKEND = "database"
|
||||
BROKER_HOST = "127.0.0.1"
|
||||
BROKER_PORT = 5672
|
||||
BROKER_USER = "pandora"
|
||||
BROKER_PASSWORD = "box"
|
||||
BROKER_VHOST = "/pandora"
|
||||
BROKER_URL = 'amqp://pandora:box@localhost:5672//pandora'
|
||||
|
||||
SEND_CELERY_ERROR_EMAILS = False
|
||||
|
||||
#with apache x-sendfile or lighttpd set this to True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue