mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 18:27:25 +08:00
Change java client MIN_BUFFER_SIZE to 1MB
This commit is contained in:
@@ -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<>();
|
||||||
|
Reference in New Issue
Block a user