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

Automate build cache cleanup in orchestrator #253

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

Conversation

dobrac
Copy link
Contributor

@dobrac dobrac commented Jan 23, 2025

Build cache cleanup is based on the percentage of free disk space. When the total disk usage reaches 90%, the oldest item in the cache is evicted. This is checked every second.

File deletion (Close) is delayed by 60 seconds to prevent race conditions with exposed slices, pending data fetches, or data uploads. If the data scheduled for eviction is requested during this time, the eviction is canceled.

Copy link

linear bot commented Jan 23, 2025

@dobrac dobrac self-assigned this Jan 23, 2025
@dobrac dobrac added the improvement Improvement for current functionality label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement for current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant