From 0f3754ce991200f20f8c4bb2d07926257ea9b6ff Mon Sep 17 00:00:00 2001 From: alivender <13898766233@163.com> Date: Mon, 14 Jul 2025 17:27:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20UDPPools=E9=99=90=E5=88=B6=E6=9C=80?= =?UTF-8?q?=E5=A4=A7=E9=98=9F=E5=88=97256?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/UdpClientPool.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/UdpClientPool.cs b/server/src/UdpClientPool.cs index de671b8..9a5b210 100644 --- a/server/src/UdpClientPool.cs +++ b/server/src/UdpClientPool.cs @@ -477,7 +477,7 @@ public class UDPClientPool int outstanding = sentCount - (found.HasValue ? found.Value : 0); // If outstanding >= 512 - batchSize, wait for some data to be received - if (outstanding >= 512 - batchSize) + if (outstanding >= 256 - batchSize) continue;