diff options
Diffstat (limited to 'device/queueconstants_default.go')
-rw-r--r-- | device/queueconstants_default.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/device/queueconstants_default.go b/device/queueconstants_default.go index d5c6927..ea763d0 100644 --- a/device/queueconstants_default.go +++ b/device/queueconstants_default.go @@ -1,14 +1,16 @@ -// +build !android,!ios,!windows +//go:build !android && !ios && !windows /* SPDX-License-Identifier: MIT * - * Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved. + * Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved. */ package device +import "golang.zx2c4.com/wireguard/conn" + const ( - QueueStagedSize = 128 + QueueStagedSize = conn.IdealBatchSize QueueOutboundSize = 1024 QueueInboundSize = 1024 QueueHandshakeSize = 1024 |