Skip to content

Commit

Permalink
Enable chunk cache on compressed index components
Browse files Browse the repository at this point in the history
  • Loading branch information
pkolaczk committed Jan 16, 2025
1 parent 87e203d commit 9c03401
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,10 @@ public FileHandle.Builder fileHandleBuilderFor(IndexComponent.ForRead component)
{
builder = builder.adviseRandom();
}
return builder.mmapped(true);

return builder.mmapped(true)
.withChunkCache(ChunkCache.instance);

}

@Override
Expand Down

0 comments on commit 9c03401

Please sign in to comment.