From 3f0d5d38260d11195a300992305d2dbf17125b34 Mon Sep 17 00:00:00 2001 From: Priyansh Garg Date: Mon, 29 Jan 2024 03:07:54 +0530 Subject: [PATCH] Disable celery result backend. --- .gitignore | 2 +- AlumniConnect/settings/common.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f534bd81..61270dc9 100644 --- a/.gitignore +++ b/.gitignore @@ -91,6 +91,6 @@ db.sqlite3 .vscode/ media dump.rdb -celerybeat-schedule +celerybeat-schedule.db .idea/ diff --git a/AlumniConnect/settings/common.py b/AlumniConnect/settings/common.py index 38e7a33c..60be5331 100644 --- a/AlumniConnect/settings/common.py +++ b/AlumniConnect/settings/common.py @@ -135,8 +135,8 @@ TEMPUS_DOMINUS_LOCALIZE = True # CELERY STUFF -CELERY_BROKER_URL = 'redis://localhost:6379' -CELERY_RESULT_BACKEND = 'redis://localhost:6379' +CELERY_BROKER_URL = 'redis://localhost:6379/0' +# CELERY_RESULT_BACKEND = 'redis://localhost:6379/1' CELERY_ACCEPT_CONTENT = ['application/json'] CELERY_TASK_SERIALIZER = 'json' CELERY_RESULT_SERIALIZER = 'json'