buffers update

This commit is contained in:
2026-04-03 18:29:54 +07:00
parent 780750171b
commit dfac8ebc23
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ impl NetworkConfig {
safe_payload_size: safe_payload, safe_payload_size: safe_payload,
tcp_buffer_size: 8 * 1024, tcp_buffer_size: 8 * 1024,
udp_buffer_size: 1500, udp_buffer_size: 64 * 1024,
muxer_capacity: 256, muxer_capacity: 256,
tcp_stream_capacity: 32, tcp_stream_capacity: 32,
@@ -58,7 +58,7 @@ impl NetworkConfig {
udp_meta_heavy: 512, udp_meta_heavy: 512,
udp_buf_light: 16 * 1024, udp_buf_light: 16 * 1024,
udp_meta_light: 16, udp_meta_light: 32,
} }
} }
-1
View File
@@ -6,7 +6,6 @@ use std::sync::atomic::{AtomicU32, AtomicU64, Ordering};
use std::sync::Arc; use std::sync::Arc;
use tokio::sync::mpsc::Sender; use tokio::sync::mpsc::Sender;
use crate::net::NetworkConfig;
use crate::nrxp::FrameType; use crate::nrxp::FrameType;