mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-03 23:15:52 +00:00
parent
aa9de42d4e
commit
04faee565c
@ -32,9 +32,9 @@ namespace llarp
|
|||||||
/// How often to retransmit TX fragments
|
/// How often to retransmit TX fragments
|
||||||
static constexpr llarp_time_t TXFlushInterval = (DeliveryTimeout / 5) * 4;
|
static constexpr llarp_time_t TXFlushInterval = (DeliveryTimeout / 5) * 4;
|
||||||
/// How often we send a keepalive
|
/// How often we send a keepalive
|
||||||
static constexpr llarp_time_t PingInterval = 4000;
|
static constexpr llarp_time_t PingInterval = 5000;
|
||||||
/// How long we wait for a session to die with no tx from them
|
/// How long we wait for a session to die with no tx from them
|
||||||
static constexpr llarp_time_t SessionAliveTimeout = PingInterval * 3;
|
static constexpr llarp_time_t SessionAliveTimeout = PingInterval * 5;
|
||||||
/// maximum number of messages we can ack in a multiack
|
/// maximum number of messages we can ack in a multiack
|
||||||
static constexpr std::size_t MaxACKSInMACK = 1024 / sizeof(uint64_t);
|
static constexpr std::size_t MaxACKSInMACK = 1024 / sizeof(uint64_t);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user