fix: UDPPools限制最大队列256

This commit is contained in:
alivender
2025-07-14 17:27:59 +08:00
parent 683d918d30
commit 0f3754ce99

View File

@@ -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;