-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Clean expire package not clean all #25035
Comments
Please change the language to English before taking the screenshot... |
I think you ran into https://docs.gitea.com/packages/usage/packages/storage#deduplication
The blobs are only deleted after 24h with the default value. |
@KN4CK3R The problem is I run clean expire package, every click/run will delete some packages, that means, the clean not delete all in once. |
Because only unreferenced blobs are deleted which are older then 24h at the time of the click. |
Until now expired package data gets deleted daily by a cronjob. The admin page shows the size of all packages and the size of unreferenced data. The users (#25035, #20631) expect the deletion of this data if they run the cronjob from the admin page but the job only deletes data older than 24h. This PR adds a new button which deletes all expired data. ![grafik](https://github.com/go-gitea/gitea/assets/1666336/b3e35d73-9496-4fa7-a20c-e5d30b1f6850) --------- Co-authored-by: silverwind <[email protected]>
We close issues that need feedback from the author if there were no new comments for a month. 🍵 |
#25307 is only in 1.21 |
Description
I want to clean up the expired packages, but run once only clean a little.
Gitea Version
1.9.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
Kube deolpy
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: