mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-26 19:18:12 +01:00
KB, not MB
This commit is contained in:
parent
7ebbb8bc6c
commit
2405b7ae6f
@ -40,7 +40,7 @@ public class MainDemo {
|
||||
// OPTIONAL: optimize networking to prevent having unresponsive threads
|
||||
{
|
||||
NettyServer nettyServer = MinecraftServer.getNettyServer();
|
||||
// Set the maximum bandwidth out and in to 500MB/s, largely enough for a single client
|
||||
// Set the maximum bandwidth out and in to 500KB/s, largely enough for a single client
|
||||
nettyServer.setWriteLimit(500_000);
|
||||
nettyServer.setReadLimit(500_000);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user