don't limit num attempts in routing path. Increased routing path expiration to 2 minutes

This commit is contained in:
orignal 2024-07-23 21:55:56 -04:00
parent 2f54d95187
commit f232c8f2df
4 changed files with 5 additions and 12 deletions

View file

@ -520,7 +520,7 @@ namespace stream
if (firstRttSample && m_RoutingSession)
m_RoutingSession->SetSharedRoutingPath (
std::make_shared<i2p::garlic::GarlicRoutingPath> (
i2p::garlic::GarlicRoutingPath{m_CurrentOutboundTunnel, m_CurrentRemoteLease, (int)m_RTT, 0, 0}));
i2p::garlic::GarlicRoutingPath{m_CurrentOutboundTunnel, m_CurrentRemoteLease, (int)m_RTT, 0}));
if (m_SentPackets.empty () && m_SendBuffer.IsEmpty ())
{
m_ResendTimer.cancel ();