always do path tests

this reverts some stupid bullshit that broke 0.9.0
pull/1628/head
Jeff Becker 3 years ago
parent 289ab9c4be
commit b1afe0f596
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -412,9 +412,6 @@ namespace llarp
auto dlt = now - m_LastLatencyTestTime;
if (dlt > path::latency_interval && m_LastLatencyTestID == 0)
{
// bail doing test if we are active
if (now - m_LastRecvMessage < path::latency_interval)
return;
routing::PathLatencyMessage latency;
latency.T = randint();
m_LastLatencyTestID = latency.T;

Loading…
Cancel
Save