Skip to content

DL Config cache size. #19476

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

Open
wants to merge 3 commits into
base: long_lived/datalayer_merkle_blob
Choose a base branch
from

Conversation

fchirica
Copy link
Contributor

@fchirica fchirica commented Apr 7, 2025

Purpose:

Current Behavior:

New Behavior:

Testing Notes:

@fchirica fchirica requested a review from a team as a code owner April 7, 2025 20:53
@fchirica fchirica added Changed Required label for PR that categorizes merge commit message as "Changed" for changelog DataLayer labels Apr 7, 2025
Copy link
Contributor

github-actions bot commented Apr 8, 2025

File Coverage Missing Lines
chia/data_layer/data_store.py 75.0% lines 444
Total Missing Coverage
13 lines Unknown 92%

@@ -485,7 +491,7 @@ async def insert_root_from_merkle_blob(
""",
(root_hash, zstd.compress(merkle_blob.blob), store_id),
)
if update_cache:
if update_cache and self.recent_merkle_blobs.get_capacity() > 0:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we could use the same mechanism as in the previous method for consistency?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changed Required label for PR that categorizes merge commit message as "Changed" for changelog coverage-diff DataLayer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants