reduce chunk cache size

This commit is contained in:
Chris Lu 2020-07-16 16:19:01 -07:00
parent 2b2ca7d1dc
commit d6d95765f9

View file

@ -19,7 +19,7 @@ public class SeaweedRead {
private static final Logger LOG = LoggerFactory.getLogger(SeaweedRead.class); private static final Logger LOG = LoggerFactory.getLogger(SeaweedRead.class);
static ChunkCache chunkCache = new ChunkCache(1000); static ChunkCache chunkCache = new ChunkCache(16);
// returns bytesRead // returns bytesRead
public static long read(FilerGrpcClient filerGrpcClient, List<VisibleInterval> visibleIntervals, public static long read(FilerGrpcClient filerGrpcClient, List<VisibleInterval> visibleIntervals,