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

Add cron method to gc LFS MetaObjects #22385

Merged
merged 9 commits into from
Jan 16, 2023
Merged

Commits on Jan 9, 2023

  1. Add cron method to gc LFS MetaObjects

    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 go-gitea#7045
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    645ba23 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Improve generational GC and only check repos with LFSMetaObjects

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    35c7906 View commit details
    Browse the repository at this point in the history
  2. fmt!

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    6fc1a0e View commit details
    Browse the repository at this point in the history
  3. add locale entry

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    ea53060 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

  1. Configuration menu
    Copy the full SHA
    8467632 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59cbb8e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    584f451 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1f7aa4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8015805 View commit details
    Browse the repository at this point in the history