Skip to content
Snippets Groups Projects
Commit dd3567e0 authored by Benjamin Ledel's avatar Benjamin Ledel
Browse files

Update file settings.py

parent e3029eab
Branches
No related tags found
No related merge requests found
Pipeline #1561560 failed
......@@ -219,6 +219,12 @@ EMAIL_HOST_PASSWORD = env("EMAIL_HOST_PASSWORD")
CELERY_BROKER_URL = env("CELERY_BROKER_URL")
CELERY_TASK_ALWAYS_EAGER = env("CELERY_TASK_ALWAYS_EAGER", default=False) == "True"
CELERY_TASK_EAGER_PROPAGATES = env("CELERY_TASK_EAGER_PROPAGATES", default=False) == "True"
CELERY_ACCEPT_CONTENT = ['json'] # Only allow JSON serialization for tasks
CELERY_TASK_SERIALIZER = 'json' # Serialize tasks in JSON
CELERY_RESULT_BACKEND = CELERY_BROKER_URL # Use the same broker as the result backend (optional)
CELERY_TIMEZONE = TIME_ZONE # Align Celery's timezone with Django's timezone
# Learning Record Store (LRS) MongoDB connection string
LRS_CONNECTION_STRING = env("LRS_CONNECTION_STRING")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment