Skip to content

Commit

Permalink
Disable celery result backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 committed Jan 28, 2024
1 parent f732bb6 commit 3f0d5d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ db.sqlite3
.vscode/
media
dump.rdb
celerybeat-schedule
celerybeat-schedule.db

.idea/
4 changes: 2 additions & 2 deletions AlumniConnect/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 3f0d5d3

Please sign in to comment.