Browse Source

Change java client MIN_BUFFER_SIZE to 1MB

pull/2184/head
Jerome Barotin 4 years ago
parent
commit
30156e142a
  1. 2
      other/java/client/src/main/java/seaweedfs/client/ByteBufferPool.java

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

@ -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…
Cancel
Save