Skip to content

Commit

Permalink
autoflush
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Nov 20, 2023
1 parent 29ba2a3 commit 16a8680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/client/src/main/java/javababushka/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class Client implements AutoCloseable {
private static final int HIGH_WRITE_WATERMARK = 4096;
private static final int LOW_WRITE_WATERMARK = 1024;
private static final long DEFAULT_TIMEOUT_MILLISECONDS = 1000;
public static boolean ALWAYS_FLUSH_ON_WRITE = false;
public static boolean ALWAYS_FLUSH_ON_WRITE = true;

// https://netty.io/3.6/api/org/jboss/netty/handler/queue/BufferedWriteHandler.html
// Flush every N bytes if !ALWAYS_FLUSH_ON_WRITE
Expand Down

0 comments on commit 16a8680

Please sign in to comment.