I believe the default is the task history gets removed after 1 day. I need it to expire after 30 days.
Is CELERY_TASK_RESULT_EXPIRES what I am looking for? Or do I have to make a custom cam?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
According to this:
http://docs.celeryproject.org/en/latest/configuration.html?highlight=celery_task_result_expires#celery-task-result-expires
CELERY_TASK_RESULT_EXPIRESsounds like exactly what you’re looking for. Make sure you check the Note because not all result backends are supported. Some also require celerybeat to be running.