Skip to content

keep celery results for 30 days#258

Merged
paigewilliams merged 1 commit intomainfrom
celery-result-expires
Mar 25, 2026
Merged

keep celery results for 30 days#258
paigewilliams merged 1 commit intomainfrom
celery-result-expires

Conversation

@paigewilliams
Copy link
Copy Markdown
Collaborator

@paigewilliams paigewilliams commented Mar 25, 2026

I noticed that celery task results were not viewable in the "task results" sections of the admin interface. I believe that the cleanup task is deleting them. I think we should keep the last 30 days of results viewable in the admin interface to show how many files are cleaned up or not. If we want to keep all celery results, we could set this setting to None.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts Celery configuration so task results are retained long enough to be visible in the Django admin “task results” views, supporting operational visibility into recent cleanup activity.

Changes:

  • Set Celery result expiration to 30 days via CELERY_RESULT_EXPIRES.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@paigewilliams paigewilliams merged commit f01dc4a into main Mar 25, 2026
7 checks passed
@paigewilliams
Copy link
Copy Markdown
Collaborator Author

asana task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants