Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a CKAN database script to clear out old harvest jobs from job history #266

Open
mwengren opened this issue Nov 4, 2024 · 0 comments
Assignees

Comments

@mwengren
Copy link
Member

mwengren commented Nov 4, 2024

What should we add?

Most users probably only will be interested in referring to the most recent harvest job logs for their individual harvests.

CKAN's default behavior is to retain a history of competed harvest jobs indefinitely. This can lead to poor/reduced performance from the CKAN DB when loading the harvest job history page.

Solution: add a job history cleanup script to delete any harvests that are marked Status=Finished and are older than 6 months from the present date.

Reference

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do
Development

No branches or pull requests

2 participants