mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
increase datagram session switching interval
This commit is contained in:
parent
0fc4e01b1e
commit
8ba142eb45
@ -24,7 +24,7 @@ namespace datagram
|
|||||||
// milliseconds for how long we try sticking to a dead routing path before trying to switch
|
// milliseconds for how long we try sticking to a dead routing path before trying to switch
|
||||||
const uint64_t DATAGRAM_SESSION_PATH_TIMEOUT = 5000;
|
const uint64_t DATAGRAM_SESSION_PATH_TIMEOUT = 5000;
|
||||||
// milliseconds interval a routing path is used before switching
|
// milliseconds interval a routing path is used before switching
|
||||||
const uint64_t DATAGRAM_SESSION_PATH_SWITCH_INTERVAL = 60 * 1000;
|
const uint64_t DATAGRAM_SESSION_PATH_SWITCH_INTERVAL = 5 * 60 * 1000;
|
||||||
// milliseconds before lease expire should we try switching leases
|
// milliseconds before lease expire should we try switching leases
|
||||||
const uint64_t DATAGRAM_SESSION_LEASE_HANDOVER_WINDOW = 10 * 1000;
|
const uint64_t DATAGRAM_SESSION_LEASE_HANDOVER_WINDOW = 10 * 1000;
|
||||||
// milliseconds fudge factor for leases handover
|
// milliseconds fudge factor for leases handover
|
||||||
|
Loading…
Reference in New Issue
Block a user