Skip to content

Commit

Permalink
Revert "shrink frame queue"
Browse files Browse the repository at this point in the history
This reverts commit 0e9599c.
  • Loading branch information
jordens committed Jul 11, 2024
1 parent 0e9599c commit 4841c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/data_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u8>; FRAME_SIZE];

Expand Down

0 comments on commit 4841c52

Please sign in to comment.