From 089f9a30aa0ad73655543a1509dbaf7956a17e89 Mon Sep 17 00:00:00 2001 From: themode Date: Tue, 17 Nov 2020 08:15:05 +0100 Subject: [PATCH] Comments about write/read limit of 0 --- .../java/net/minestom/server/network/netty/NettyServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/minestom/server/network/netty/NettyServer.java b/src/main/java/net/minestom/server/network/netty/NettyServer.java index 920ca098f..190dead8d 100644 --- a/src/main/java/net/minestom/server/network/netty/NettyServer.java +++ b/src/main/java/net/minestom/server/network/netty/NettyServer.java @@ -142,7 +142,7 @@ public class NettyServer { *

* WARNING: the change will only apply to new connections, the current ones will not be updated. * - * @param writeLimit the new write limit in bytes + * @param writeLimit the new write limit in bytes, 0 to disable * @see #getWriteLimit() */ public void setWriteLimit(long writeLimit) { @@ -167,7 +167,7 @@ public class NettyServer { *

* WARNING: the change will only apply to new connections, the current ones will not be updated. * - * @param readLimit the new read limit in bytes + * @param readLimit the new read limit in bytes, 0 to disable * @see #getWriteLimit() */ public void setReadLimit(long readLimit) {