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

feat(CLI): Prune cache #464

Merged
merged 2 commits into from
Jun 19, 2022
Merged

feat(CLI): Prune cache #464

merged 2 commits into from
Jun 19, 2022

Conversation

gaocegege
Copy link
Member

@gaocegege gaocegege commented Jun 19, 2022

Fix #128

Signed-off-by: Ce Gao cegao@tensorchord.ai

Signed-off-by: Ce Gao <cegao@tensorchord.ai>
@gaocegege gaocegege changed the title feat(CLI): Prune cache WIP feat(CLI): Prune cache Jun 19, 2022
@gaocegege gaocegege requested a review from VoVAllen June 19, 2022 03:06
pkg/app/prune.go Outdated Show resolved Hide resolved
pkg/app/prune.go Outdated Show resolved Hide resolved
},
&cli.Float64Flag{
Name: "keep-storage",
Usage: "Keep data below this limit (in MB)",
Copy link
Member

Choose a reason for hiding this comment

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

Does it work like an LRU cache?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, we do not guarantee it.

Signed-off-by: Ce Gao <cegao@tensorchord.ai>
@gaocegege
Copy link
Member Author

PTAL again.

Copy link
Member

@VoVAllen VoVAllen left a comment

Choose a reason for hiding this comment

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

LGTM. Please also update the docs once merged.

@gaocegege gaocegege merged commit f2ff5b7 into tensorchord:main Jun 19, 2022
@gaocegege gaocegege deleted the prune branch June 19, 2022 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

feat(CLI): Prune cache (both buildkit and midi cache)
2 participants