Software /
code /
prosody
Diff
plugins/mod_debug_sql.lua @ 12512:b7f07585ec4c
net.server_epoll: Add support for TCP Fast Open
Requires a patch to LuaSocket adding this socket option,
https://github.com/lunarmodules/luasocket/pull/378
sysctl tweaks
net.ipv4.tcp_fastopen=3
net.ipv4.tcp_fastopen_blackhole_timeout_sec = 0
net.ipv4.tcp_fastopen_key=$(</proc/sys/kernel/random/uuid)
Disabled by default since it an advanced performance tweak unlikely to
be needed by most servers.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 08 Jul 2021 12:29:50 +0200 |
parent | 8391:5edb0d01a94f |