Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
62e54010
Commit
62e54010
authored
Jul 21, 2022
by
Melledy
Browse files
Lower kcp interval to 20
parent
a07b3f21
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/game/GameServer.java
View file @
62e54010
...
...
@@ -83,7 +83,7 @@ public final class GameServer extends KcpServer {
public
GameServer
(
InetSocketAddress
address
)
{
ChannelConfig
channelConfig
=
new
ChannelConfig
();
channelConfig
.
nodelay
(
true
,
4
0
,
2
,
true
);
channelConfig
.
nodelay
(
true
,
2
0
,
2
,
true
);
channelConfig
.
setMtu
(
1400
);
channelConfig
.
setSndwnd
(
256
);
channelConfig
.
setRcvwnd
(
256
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment