fix: UDPPools限制最大队列256
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user