[GH-ISSUE #103] Delete expired pastes that are never accessed again #63

Closed
opened 2026-02-27 10:15:33 +03:00 by kerem · 1 comment
Owner

Originally created by @FliegendeWurst on GitHub (Jan 22, 2025).
Original GitHub issue: https://github.com/matze/wastebin/issues/103

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.

Originally created by @FliegendeWurst on GitHub (Jan 22, 2025). Original GitHub issue: https://github.com/matze/wastebin/issues/103 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.
kerem 2026-02-27 10:15:33 +03:00
Author
Owner

@matze commented on GitHub (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.

<!-- gh-comment-id:2608315614 --> @matze commented on GitHub (Jan 22, 2025): It used to be the case but has been changed with [2.3.0](https://github.com/matze/wastebin/blob/043b351817372fccde8403a93a9268b5abcb33ec/CHANGELOG.md?plain=1#L210). I put it on my list of features for the CLI tool though.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wastebin-matze#63
No description provided.