mirror of https://github.com/oxen-io/lokinet
in outbound context, ShouldBuildMore intro.ExpiresSoon delta is too big and has no overlap, change it so that
This commit is contained in:
parent
e48feb8b9a
commit
d9cae4a6c6
|
@ -444,7 +444,7 @@ namespace llarp
|
|||
ForEachPath([now, &numValidPaths](path::Path_ptr path) {
|
||||
if (not path->IsReady())
|
||||
return;
|
||||
if (not path->intro.ExpiresSoon(now, path::default_lifetime - path::intro_path_spread))
|
||||
if (not path->intro.ExpiresSoon(now, path::intro_path_spread))
|
||||
numValidPaths++;
|
||||
});
|
||||
return numValidPaths < numDesiredPaths;
|
||||
|
|
Loading…
Reference in New Issue