summaryrefslogtreecommitdiffstats
path: root/src/wireguard/router/constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wireguard/router/constants.rs')
-rw-r--r--src/wireguard/router/constants.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wireguard/router/constants.rs b/src/wireguard/router/constants.rs
index 6129fd7..82360bb 100644
--- a/src/wireguard/router/constants.rs
+++ b/src/wireguard/router/constants.rs
@@ -4,6 +4,6 @@ pub const MAX_STAGED_PACKETS: usize = 128;
// performance constants
-pub const PARALLEL_QUEUE_SIZE: usize = MAX_STAGED_PACKETS;
+pub const PARALLEL_QUEUE_SIZE: usize = 256;
pub const INORDER_QUEUE_SIZE: usize = PARALLEL_QUEUE_SIZE;
pub const MAX_INORDER_CONSUME: usize = INORDER_QUEUE_SIZE;