|
@@ -32,11 +32,15 @@ play.server {
|
|
log.wire = false
|
|
log.wire = false
|
|
|
|
|
|
option {
|
|
option {
|
|
- SO_BACKLOG = 256
|
|
|
|
|
|
+ SO_BACKLOG = 8192
|
|
|
|
+ SO_REUSEADDR = true
|
|
|
|
+ "io.netty.channel.epoll.EpollChannelOption#SO_REUSEPORT" = true
|
|
|
|
+ "io.netty.channel.epoll.EpollChannelOption#TCP_FASTOPEN" = 1
|
|
|
|
|
|
child {
|
|
child {
|
|
SO_KEEPALIVE = true
|
|
SO_KEEPALIVE = true
|
|
TCP_NODELAY = true
|
|
TCP_NODELAY = true
|
|
|
|
+ SO_REUSEADDR = true
|
|
|
|
|
|
# The default is 1 since Linux Kernel 3.13
|
|
# The default is 1 since Linux Kernel 3.13
|
|
# You can check via "cat /proc/sys/net/ipv4/tcp_fastopen"
|
|
# You can check via "cat /proc/sys/net/ipv4/tcp_fastopen"
|