pull/18/head
Jeff Becker 6 years ago
parent 17a8ac13ad
commit 724a093da7
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -1354,10 +1354,11 @@ namespace llarp
if(now >= intro.expiresAt)
return should;
auto dlt = now - intro.expiresAt;
return should || // try spacing tunnel builds out evenly in time
dlt < (DEFAULT_PATH_LIFETIME / 2)
&& NumInStatus(path::ePathBuilding) < m_NumPaths
&& dlt > buildIntervalLimit;
return should
|| ( // try spacing tunnel builds out evenly in time
(dlt < (DEFAULT_PATH_LIFETIME / 2))
&& (NumInStatus(path::ePathBuilding) < m_NumPaths)
&& (dlt > buildIntervalLimit));
}
/// send on an established convo tag

Loading…
Cancel
Save