aboutsummaryrefslogtreecommitdiff
path: root/other/java
diff options
context:
space:
mode:
authorJerome Barotin <jbn@s4e.fr>2021-07-05 16:07:33 +0200
committerJerome Barotin <jbn@s4e.fr>2021-07-05 16:07:33 +0200
commit30156e142a24fe15967fd9e3aff06d003271ac59 (patch)
tree3838ef65b5de92dd3de1cf469f69994e320f49ac /other/java
parent141388367e7ec45604aedf77c6a74c2ccb67efdb (diff)
downloadseaweedfs-30156e142a24fe15967fd9e3aff06d003271ac59.tar.xz
seaweedfs-30156e142a24fe15967fd9e3aff06d003271ac59.zip
Change java client MIN_BUFFER_SIZE to 1MB
Diffstat (limited to 'other/java')
-rw-r--r--other/java/client/src/main/java/seaweedfs/client/ByteBufferPool.java2
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<>();