gitea/services
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
..
agit Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
asymkey Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
attachment Add API management for issue/pull and comment attachments (#21783) 2022-12-09 14:35:56 +08:00
auth Improve utils of slices (#22379) 2023-01-11 13:31:16 +08:00
automerge refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
context Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
convert Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
cron Add cron method to gc LFS MetaObjects (#22385) 2023-01-16 13:50:53 -06:00
externalaccount Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
forms Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
gitdiff Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
issue Always reuse transaction (#22362) 2023-01-08 09:34:58 +08:00
lfs Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
mailer Add support for incoming emails (#22056) 2023-01-14 23:57:10 +08:00
markup Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
migrations Update golang deps (#22410) 2023-01-12 09:21:16 +01:00
mirror Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
packages refactor auth interface to return error when verify failure (#22119) 2022-12-28 13:53:28 +08:00
pull Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
release Add API management for issue/pull and comment attachments (#21783) 2022-12-09 14:35:56 +08:00
repository Add cron method to gc LFS MetaObjects (#22385) 2023-01-16 13:50:53 -06:00
task Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user Unify hashing for avatar (#22289) 2023-01-02 22:46:39 +01:00
webhook fix: omit avatar_url in discord payload when empty (#22393) 2023-01-10 14:01:52 -05:00
wiki Improve utils of slices (#22379) 2023-01-11 13:31:16 +08:00