Browse Source

reduce chunk cache size

pull/1397/head
Chris Lu 5 years ago
parent
commit
d6d95765f9
  1. 2
      other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java

2
other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java

@ -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,

Loading…
Cancel
Save