Skip to content

Commit

Permalink
Store extended task results in Celery results DB (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
djperrefort authored Apr 7, 2024
1 parent 32e7cd7 commit 49e50a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion keystone_api/main/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@
REDIS_URL = f'redis://:{_redis_pass}@{_redis_host}:{_redis_port}'

CELERY_BROKER_URL = REDIS_URL + f'/{_redis_db}'
CELERY_RESULT_BACKEND = 'django-db'
CELERY_CACHE_BACKEND = 'django-cache'
CELERY_RESULT_BACKEND = 'django-db'
CELERY_RESULT_EXTENDED = True

# Database

Expand Down

0 comments on commit 49e50a3

Please sign in to comment.