mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Change java client MIN_BUFFER_SIZE to 1MB
This commit is contained in:
parent
141388367e
commit
30156e142a
|
@ -10,7 +10,7 @@ import java.util.List;
|
||||||
|
|
||||||
public class ByteBufferPool {
|
public class ByteBufferPool {
|
||||||
|
|
||||||
private static final int MIN_BUFFER_SIZE = 8 * 1024 * 1024;
|
private static final int MIN_BUFFER_SIZE = 1 * 1024 * 1024;
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(ByteBufferPool.class);
|
private static final Logger LOG = LoggerFactory.getLogger(ByteBufferPool.class);
|
||||||
|
|
||||||
private static final List<ByteBuffer> bufferList = new ArrayList<>();
|
private static final List<ByteBuffer> bufferList = new ArrayList<>();
|
||||||
|
|
Loading…
Reference in a new issue