mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
don't limit num attempts in routing path. Increased routing path expiration to 2 minutes
This commit is contained in:
parent
2f54d95187
commit
f232c8f2df
4 changed files with 5 additions and 12 deletions
|
@ -202,7 +202,7 @@ namespace client
|
|||
else
|
||||
remoteSession->SetSharedRoutingPath (nullptr);
|
||||
}
|
||||
else
|
||||
if (!outboundTunnel || !remoteLease)
|
||||
{
|
||||
auto leases = remote->GetNonExpiredLeases (false); // without threshold
|
||||
if (leases.empty ())
|
||||
|
@ -216,7 +216,7 @@ namespace client
|
|||
}
|
||||
if (remoteLease && outboundTunnel)
|
||||
remoteSession->SetSharedRoutingPath (std::make_shared<i2p::garlic::GarlicRoutingPath> (
|
||||
i2p::garlic::GarlicRoutingPath{outboundTunnel, remoteLease, 10000, 0, 0})); // 10 secs RTT
|
||||
i2p::garlic::GarlicRoutingPath{outboundTunnel, remoteLease, 10000, 0})); // 10 secs RTT
|
||||
else
|
||||
remoteSession->SetSharedRoutingPath (nullptr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue