mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
add lower limit for stream RTO
This commit is contained in:
parent
b2aa34baa6
commit
cf77be0eeb
2 changed files with 3 additions and 2 deletions
|
@ -58,6 +58,7 @@ namespace stream
|
|||
const int MAX_WINDOW_SIZE = 128;
|
||||
const int WINDOW_SIZE_DROP_FRACTION = 10; // 1/10
|
||||
const double RTT_EWMA_ALPHA = 0.125;
|
||||
const int MIN_RTO = 20; // in milliseconds
|
||||
const int INITIAL_RTT = 8000; // in milliseconds
|
||||
const int INITIAL_RTO = 9000; // in milliseconds
|
||||
const int MIN_SEND_ACK_TIMEOUT = 2; // in milliseconds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue