Revert "stricter timeouts"

This reverts commit aa9de42d4e.
This commit is contained in:
Jeff Becker 2019-12-15 07:53:30 -05:00
parent aa9de42d4e
commit 04faee565c
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -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);