Skip to content

Conversation

Desiki-high
Copy link
Collaborator

  • Add scheduled GC task, we will start GC every hour.
  • It will start the schedule after creating LocalAdapter.
  • The scheduled GC task will reduce local storage to less than 40 percent of the threshold.
    Ref: Feature request: manage local layer caches #141

@Desiki-high Desiki-high force-pushed the gc-task branch 3 times, most recently from adcd0ea to a8df97d Compare September 5, 2023 04:54
@Desiki-high Desiki-high requested a review from imeoer September 5, 2023 04:57
- Add scheduled GC task, we will start GC every hour.
- It will start the schedule after creating LocalAdapter.
- The scheduled GC task will reduce local storage to less than 40 percent of the threshold.

Signed-off-by: Yadong Ding <ding_yadong@foxmail.com>
Copy link
Collaborator

@imeoer imeoer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@imeoer imeoer merged commit a7aa579 into goharbor:main Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants