fix(remoteingress-core): avoid spurious tunnel disconnect events and increase control channel capacity

This commit is contained in:
2026-03-16 22:46:51 +00:00
parent e0c469147e
commit 3a2a060a85
4 changed files with 14 additions and 4 deletions

View File

@@ -378,7 +378,7 @@ async fn handle_edge_connection(
// QoS dual-channel tunnel writer: control frames (PING/PONG/WINDOW_UPDATE/CLOSE)
// have priority over data frames (DATA_BACK). This prevents PING starvation under load.
let (ctrl_tx, mut ctrl_rx) = mpsc::channel::<Vec<u8>>(64);
let (ctrl_tx, mut ctrl_rx) = mpsc::channel::<Vec<u8>>(256);
let (data_tx, mut data_rx) = mpsc::channel::<Vec<u8>>(4096);
// Legacy alias for code that sends both control and data (will be migrated)
let frame_writer_tx = ctrl_tx.clone();