From 49e50a3d0487c74484ca75b9ad8a7da4acd658de Mon Sep 17 00:00:00 2001 From: Daniel Perrefort Date: Sun, 7 Apr 2024 19:53:04 -0400 Subject: [PATCH] Store extended task results in Celery results DB (#243) --- keystone_api/main/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keystone_api/main/settings.py b/keystone_api/main/settings.py index 4fa35403..1f19b31d 100644 --- a/keystone_api/main/settings.py +++ b/keystone_api/main/settings.py @@ -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