From 4841c52abba91ef7188f18ee49ff471e02c4119d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Thu, 11 Jul 2024 13:19:31 +0000 Subject: [PATCH] Revert "shrink frame queue" This reverts commit 0e9599c1a8c0de3a52fae87f7f77338ca579acc5. --- src/net/data_stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/data_stream.rs b/src/net/data_stream.rs index 5a462d018..5ebe6fb1d 100644 --- a/src/net/data_stream.rs +++ b/src/net/data_stream.rs @@ -57,7 +57,7 @@ const FRAME_SIZE: usize = 1500 - 40 - 8; // The size of the frame queue must be at least as large as the number of frame buffers. Every // allocated frame buffer should fit in the queue. -const FRAME_QUEUE_SIZE: usize = FRAME_COUNT; +const FRAME_QUEUE_SIZE: usize = FRAME_COUNT * 2; type Frame = [MaybeUninit; FRAME_SIZE];