From 82c167aaca8716443a84a338a9e181f661ca1c79 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 4 Feb 2021 20:18:33 -0800 Subject: [PATCH] Java: supportFlush set to true --- .../src/main/java/seaweedfs/client/SeaweedOutputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/java/client/src/main/java/seaweedfs/client/SeaweedOutputStream.java b/other/java/client/src/main/java/seaweedfs/client/SeaweedOutputStream.java index a98bbd1ab..925a56bdd 100644 --- a/other/java/client/src/main/java/seaweedfs/client/SeaweedOutputStream.java +++ b/other/java/client/src/main/java/seaweedfs/client/SeaweedOutputStream.java @@ -14,7 +14,7 @@ import java.util.concurrent.*; public class SeaweedOutputStream extends OutputStream { private static final Logger LOG = LoggerFactory.getLogger(SeaweedOutputStream.class); - protected final boolean supportFlush = false; // true; + protected final boolean supportFlush = true; private final FilerGrpcClient filerGrpcClient; private final String path; private final int bufferSize;