We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7885b21 commit 8f930cdCopy full SHA for 8f930cd
wireguard/device/queueconstants_default.go
@@ -15,5 +15,5 @@ const (
15
QueueInboundSize = 1024
16
QueueHandshakeSize = 1024
17
MaxSegmentSize = (1 << 16) - 1 // largest possible UDP datagram
18
- PreallocatedBuffersPerPool = 0 // Disable and allow for infinite memory growth
+ PreallocatedBuffersPerPool = 4096 // Disable and allow for infinite memory growth
19
)
wireguard/device/queueconstants_windows.go
@@ -11,5 +11,5 @@ const (
11
12
13
MaxSegmentSize = 2048 - 32 // largest possible UDP datagram
14
0 commit comments