forgejo/models
zeripath 2cc3a6381c
Add cron method to gc LFS MetaObjects (#22385)
This PR adds a task to the cron service to allow garbage collection of
LFS meta objects. As repositories may have a large number of
LFSMetaObjects, an updated column is added to this table and it is used
to perform a generational GC to attempt to reduce the amount of work.
(There may need to be a bit more work here but this is probably enough
for the moment.)

Fix #7045

Signed-off-by: Andrew Thornton <art27@cantab.net>
2023-01-16 13:50:53 -06:00
..
activities
admin
asymkey
auth Replace deprecated Webauthn library (#22400) 2023-01-11 21:51:00 -05:00
avatars
db
fixtures Fix error when calculate the repository size (#22392) 2023-01-13 18:54:02 +00:00
git Add cron method to gc LFS MetaObjects (#22385) 2023-01-16 13:50:53 -06:00
issues Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
migrations Add cron method to gc LFS MetaObjects (#22385) 2023-01-16 13:50:53 -06:00
organization
packages
perm
project
pull
repo Fix Operator does not exist bug on explore page with ONLY_SHOW_RELEVANT_REPOS (#22454) 2023-01-16 11:25:22 +00:00
secret
system
unit
unittest Add support for incoming emails (#22056) 2023-01-14 23:57:10 +08:00
user
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
org.go
org_team.go Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
org_team_test.go
org_test.go
repo.go
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go
user.go Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00