summaryrefslogtreecommitdiffhomepage
path: root/device/queueconstants_default.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/queueconstants_default.go')
-rw-r--r--device/queueconstants_default.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/device/queueconstants_default.go b/device/queueconstants_default.go
index 6b69150..7ed70a1 100644
--- a/device/queueconstants_default.go
+++ b/device/queueconstants_default.go
@@ -7,8 +7,10 @@
package device
+import "golang.zx2c4.com/wireguard/conn"
+
const (
- QueueStagedSize = 128
+ QueueStagedSize = conn.DefaultBatchSize
QueueOutboundSize = 1024
QueueInboundSize = 1024
QueueHandshakeSize = 1024