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 code for revision cleanup #6442

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft

Conversation

Gared
Copy link
Member

@Gared Gared commented Jun 9, 2024

This will add two methods for revision cleanup:

  • deleteAllRevisions (copies only the latest version and removes the old database entries)
  • deleteRevisions (deletes all revisions, but keeps the last x revisions of a pad and rewrites the first revision)

Relates to #6194

There are still some TODOs:

  • Remove duplicated code
  • Add config to change behaviour of cleanup (and enable/disable)
  • Test with a lot of revisions (mainly the key revisions)

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.

None yet

1 participant