Comments about write/read limit of 0

This commit is contained in:
themode 2020-11-17 08:15:05 +01:00
parent f965c5b9c9
commit 089f9a30aa

View File

@ -142,7 +142,7 @@ public class NettyServer {
* <p>
* 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 {
* <p>
* 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) {