fix: UDPPools限制最大队列256
This commit is contained in:
parent
683d918d30
commit
0f3754ce99
|
@ -477,7 +477,7 @@ public class UDPClientPool
|
||||||
int outstanding = sentCount - (found.HasValue ? found.Value : 0);
|
int outstanding = sentCount - (found.HasValue ? found.Value : 0);
|
||||||
|
|
||||||
// If outstanding >= 512 - batchSize, wait for some data to be received
|
// If outstanding >= 512 - batchSize, wait for some data to be received
|
||||||
if (outstanding >= 512 - batchSize)
|
if (outstanding >= 256 - batchSize)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue