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

Proactively remove LRU cache values as cache fills #2842

Merged
merged 3 commits into from May 7, 2024
Merged

Conversation

nvoxland-al
Copy link
Contributor

🚀 🚀 Pull Request

Impact

  • Bug fix (non-breaking change which fixes expected existing functionality)
  • Enhancement/New feature (adds functionality without impacting existing logic)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

When loading chunk files from disk, as memory fills the chunk_engine would wait for there to be room to download. Depending on the overall workload, this waiting could last forever.

This change pops a cached value rather than simply wait

Copy link

sonarcloud bot commented May 6, 2024

@nvoxland-al nvoxland-al merged commit 5ec72ac into main May 7, 2024
7 of 10 checks passed
@nvoxland-al nvoxland-al deleted the cache_clear branch May 7, 2024 16:08
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.

None yet

4 participants