mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 19:57:48 +02:00
don't send repliable datagram after less then 100 milliseconds
This commit is contained in:
parent
c41554109b
commit
3ef8b3dcbb
2 changed files with 14 additions and 5 deletions
|
@ -165,7 +165,8 @@ namespace client
|
|||
|
||||
/** 2 minute timeout for udp sessions */
|
||||
const uint64_t I2P_UDP_SESSION_TIMEOUT = 1000 * 60 * 2;
|
||||
|
||||
const uint64_t I2P_UDP_REPLIABLE_DATAGRAM_INTERVAL = 100; // in milliseconds
|
||||
|
||||
/** max size for i2p udp */
|
||||
const size_t I2P_UDP_MAX_MTU = 64*1024;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue