Moved CELERY_BROKER_URL and CELERY_RESULT_BACKEND to .env file
This commit is contained in:
parent
6d28783f9f
commit
5a5654be01
1 changed files with 2 additions and 4 deletions
|
@ -523,10 +523,8 @@ GOOGLE_ANALYTICS_PROPERTY_IDS = {
|
||||||
}
|
}
|
||||||
|
|
||||||
# CELERY Settings
|
# CELERY Settings
|
||||||
# BROKER_URL = 'redis://localhost:6379'
|
CELERY_BROKER_URL = env('CELERY_BROKER_URL')
|
||||||
CELERY_BROKER_URL = 'redis+socket:///tmp/redis.sock'
|
CELERY_RESULT_BACKEND = env('CELERY_RESULT_BACKEND')
|
||||||
# CELERY_RESULT_BACKEND = 'redis://localhost:6379'
|
|
||||||
CELERY_RESULT_BACKEND = 'redis+socket:///tmp/redis.sock'
|
|
||||||
CELERY_ACCEPT_CONTENT = ['application/json']
|
CELERY_ACCEPT_CONTENT = ['application/json']
|
||||||
CELERY_TASK_SERIALIZER = 'json'
|
CELERY_TASK_SERIALIZER = 'json'
|
||||||
CELERY_RESULT_SERIALIZER = 'json'
|
CELERY_RESULT_SERIALIZER = 'json'
|
||||||
|
|
Loading…
Reference in a new issue