mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
reduce chunk cache size
This commit is contained in:
parent
2b2ca7d1dc
commit
d6d95765f9
|
@ -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…
Reference in a new issue