Skip to content

Reduce disk wastage by cleaning up received_transactions older than 1 day, rather than 30 days. #18310

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

reivilibre
Copy link
Contributor

Clean up received_transactions older than 1 day, rather than 30 days
Reduces disk waste by homeservers

Closes #6437

Signed-off-by: Olivier 'reivilibre <[email protected]>
@reivilibre reivilibre requested a review from a team as a code owner April 2, 2025 10:46
@3nprob
Copy link
Contributor

3nprob commented May 2, 2025

Perhaps this could be configurable?

Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

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

LGTM. Considering no one has asked for this to be configurable in the meantime, I don't think we need to introduce an option now.

Once can always be introduced in the future. But the benefits to disk usage are valuable today.

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.

received_transactions table can accumulate millions of records despite being cleared monthly
3 participants