aboutsummaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/queueconstants_android.go2
-rw-r--r--device/queueconstants_default.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/device/queueconstants_android.go b/device/queueconstants_android.go
index 1158387..3d80ead 100644
--- a/device/queueconstants_android.go
+++ b/device/queueconstants_android.go
@@ -10,7 +10,7 @@ import "golang.zx2c4.com/wireguard/conn"
/* Reduce memory consumption for Android */
const (
- QueueStagedSize = conn.DefaultBatchSize
+ QueueStagedSize = conn.IdealBatchSize
QueueOutboundSize = 1024
QueueInboundSize = 1024
QueueHandshakeSize = 1024
diff --git a/device/queueconstants_default.go b/device/queueconstants_default.go
index 7ed70a1..ea763d0 100644
--- a/device/queueconstants_default.go
+++ b/device/queueconstants_default.go
@@ -10,7 +10,7 @@ package device
import "golang.zx2c4.com/wireguard/conn"
const (
- QueueStagedSize = conn.DefaultBatchSize
+ QueueStagedSize = conn.IdealBatchSize
QueueOutboundSize = 1024
QueueInboundSize = 1024
QueueHandshakeSize = 1024