Skip to content

Commit ec4ba88

Browse files
committed
fix: set CELERY_RESULT_EXPIRES to 7 days in settings
1 parent e74edd9 commit ec4ba88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@
294294
CELERY_RESULT_EXTENDED = True
295295
CELERY_RESULT_BACKEND = "django-db"
296296
CELERY_CACHE_BACKEND = "default"
297+
CELERY_RESULT_EXPIRES = 60 * 60 * 24 * 7 # 7 days
297298

298299
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#task-serializer
299300
CELERY_TASK_SERIALIZER = "pickle"

0 commit comments

Comments
 (0)