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

Delete expired pastes that are never accessed again #103

Open
FliegendeWurst opened this issue Jan 22, 2025 · 1 comment
Open

Delete expired pastes that are never accessed again #103

FliegendeWurst opened this issue Jan 22, 2025 · 1 comment

Comments

@FliegendeWurst
Copy link
Contributor

If I understand the code correctly, the only way an expired paste gets deleted is if someone tries to access it after the expiration date.
This is seemingly confirmed by my database containing pastes that expired 12 days ago.
In my workflow, many pastes are never accessed after their expiration. So I think it would be good to implement a periodic "delete all expired pastes" job.

@matze
Copy link
Owner

matze commented Jan 22, 2025

It used to be the case but has been changed with 2.3.0. I put it on my list of features for the CLI tool though.

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

No branches or pull requests

2 participants