ansible-roles/webapps/peertube/templates/peertube-tcp.conf.j2
Mathieu Gauthier-Pilote 0535c40455
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
New role to install + upgrade PeerTube
2023-04-07 09:07:59 -04:00

9 lines
397 B
Django/Jinja

# In a video server, we are often sending files to a client
# which can't accept it as fast as our local network connection
# could produce packets. To prevent packet loss and buffer bloat,
# it's especially important to use a modern CoDel scheduler which
# knows how to delay outgoing packets to match slower client links.
net.core.default_qdisc = fq_codel
net.ipv4.tcp_congestion_control = bbr