diff options
| author | Jerome Barotin <jbn@s4e.fr> | 2021-07-05 16:07:33 +0200 |
|---|---|---|
| committer | Jerome Barotin <jbn@s4e.fr> | 2021-07-05 16:07:33 +0200 |
| commit | 30156e142a24fe15967fd9e3aff06d003271ac59 (patch) | |
| tree | 3838ef65b5de92dd3de1cf469f69994e320f49ac | |
| parent | 141388367e7ec45604aedf77c6a74c2ccb67efdb (diff) | |
| download | seaweedfs-30156e142a24fe15967fd9e3aff06d003271ac59.tar.xz seaweedfs-30156e142a24fe15967fd9e3aff06d003271ac59.zip | |
Change java client MIN_BUFFER_SIZE to 1MB
| -rw-r--r-- | other/java/client/src/main/java/seaweedfs/client/ByteBufferPool.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/other/java/client/src/main/java/seaweedfs/client/ByteBufferPool.java b/other/java/client/src/main/java/seaweedfs/client/ByteBufferPool.java index 51053becd..19ae78277 100644 --- a/other/java/client/src/main/java/seaweedfs/client/ByteBufferPool.java +++ b/other/java/client/src/main/java/seaweedfs/client/ByteBufferPool.java @@ -10,7 +10,7 @@ import java.util.List; 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 List<ByteBuffer> bufferList = new ArrayList<>(); |
