Skip to content
Snippets Groups Projects
Verified Commit 1ce84278 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Make celery broker configurable

parent c1887a02
No related branches found
No related tags found
1 merge request!209Fix celery config
Pipeline #1267 failed
......@@ -436,7 +436,7 @@ if _settings.get("twilio.sid", None):
if _settings.get("celery.enabled", False):
INSTALLED_APPS += ("django_celery_beat", "django_celery_results")
CELERY_BROKER_URL = "redis://localhost"
CELERY_BROKER_URL = _settings.get("celery.broker", "redis://localhost")
CELERY_RESULT_BACKEND = "django-db"
CELERY_CACHE_BACKEND = "django-cache"
CELERY_BEAT_SCHEDULER = "django_celery_beat.schedulers:DatabaseScheduler"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment