mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-12 17:10:20 +03:00
better hole punch expiration intervals
This commit is contained in:
parent
f611136ea7
commit
743126b2ad
@ -42,8 +42,8 @@ namespace transport
|
|||||||
const int SSU2_KEEP_ALIVE_INTERVAL = 15; // in seconds
|
const int SSU2_KEEP_ALIVE_INTERVAL = 15; // in seconds
|
||||||
const int SSU2_KEEP_ALIVE_INTERVAL_VARIANCE = 4; // in seconds
|
const int SSU2_KEEP_ALIVE_INTERVAL_VARIANCE = 4; // in seconds
|
||||||
const int SSU2_PROXY_CONNECT_RETRY_TIMEOUT = 30; // in seconds
|
const int SSU2_PROXY_CONNECT_RETRY_TIMEOUT = 30; // in seconds
|
||||||
const int SSU2_MIN_HOLE_PUNCH_EXPIRATION = 45; // in seconds
|
const int SSU2_MIN_HOLE_PUNCH_EXPIRATION = 30; // in seconds
|
||||||
const int SSU2_MAX_HOLE_PUNCH_EXPIRATION = 181; // in seconds
|
const int SSU2_MAX_HOLE_PUNCH_EXPIRATION = 160; // in seconds
|
||||||
const size_t SSU2_MAX_NUM_PACKETS_PER_BATCH = 64;
|
const size_t SSU2_MAX_NUM_PACKETS_PER_BATCH = 64;
|
||||||
|
|
||||||
class SSU2Server: private i2p::util::RunnableServiceWithWork
|
class SSU2Server: private i2p::util::RunnableServiceWithWork
|
||||||
|
Loading…
Reference in New Issue
Block a user