Change java client MIN_BUFFER_SIZE to 1MB

This commit is contained in:
Jerome Barotin 2021-07-05 16:07:33 +02:00
parent 141388367e
commit 30156e142a

View file

@ -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<>();