From 04faee565c028622d65c27912121107f271f9239 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 15 Dec 2019 07:53:30 -0500 Subject: [PATCH] Revert "stricter timeouts" This reverts commit aa9de42d4e110563f34e9493ca23da8d7014c022. --- llarp/iwp/session.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llarp/iwp/session.hpp b/llarp/iwp/session.hpp index f31cf8a3e..4a6f4f47c 100644 --- a/llarp/iwp/session.hpp +++ b/llarp/iwp/session.hpp @@ -32,9 +32,9 @@ namespace llarp /// How often to retransmit TX fragments static constexpr llarp_time_t TXFlushInterval = (DeliveryTimeout / 5) * 4; /// 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 - 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 static constexpr std::size_t MaxACKSInMACK = 1024 / sizeof(uint64_t);