aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorotbutz <tbutz@optitool.de>2023-06-28 07:05:12 +0200
committerGitHub <noreply@github.com>2023-06-28 07:05:12 +0200
commitdaf7baaeffca8d3b4d862bde836d33f12dbe88bb (patch)
tree5a9d4f82df8c702bcf9b1e88740c3833c5a1f32b /etc
parenta4a1231e92a58f5c08396aff4190e43b13b953a6 (diff)
downloadsyncthing-daf7baaeffca8d3b4d862bde836d33f12dbe88bb.tar.gz
syncthing-daf7baaeffca8d3b4d862bde836d33f12dbe88bb.zip
etc: Update sysctl configs (#8955)
Diffstat (limited to 'etc')
-rw-r--r--etc/linux-sysctl/30-syncthing.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/linux-sysctl/30-syncthing.conf b/etc/linux-sysctl/30-syncthing.conf
index 5bfea12df..6a364618b 100644
--- a/etc/linux-sysctl/30-syncthing.conf
+++ b/etc/linux-sysctl/30-syncthing.conf
@@ -1,3 +1,4 @@
-# Increase maximum receive socket buffer size to 2MiB for QUIC connections
-# see https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size
-net.core.rmem_max = 2097152
+# Increase maximum socket buffer sizes to 2.5MiB for QUIC connections
+# see https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes
+net.core.rmem_max = 2621440
+net.core.wmem_max = 2621440