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

Improve ttl and add mark and sweep #4266

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cameron-p-m
Copy link

No description provided.

@github-actions github-actions bot added area/proxy Related to registry as a pull-through cache area/ci labels Jan 25, 2024
select {
case <-ttles.garbageCollectTimer.C:

storage.MarkAndSweep(ttles.ctx, ttles.driver, ttles.registry, ttles.opts)
Copy link
Author

Choose a reason for hiding this comment

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

This can be run as a separate process if desired, but is resistant to already deleted items.

@Jamstah Jamstah added the area/gc Related to garbage collection label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci area/gc Related to garbage collection area/proxy Related to registry as a pull-through cache
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants