Преглед изворни кода

etc: Update sysctl configs (#8955)

otbutz пре 2 година
родитељ
комит
daf7baaeff
1 измењених фајлова са 4 додато и 3 уклоњено
  1. 4 3
      etc/linux-sysctl/30-syncthing.conf

+ 4 - 3
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