ping on send idle not recv idle

This commit is contained in:
Jeff Becker 2019-07-01 13:53:08 -04:00
parent abb1924eef
commit 915b11b0bb
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -230,7 +230,7 @@ namespace llarp
{ {
if(state != eSessionReady) if(state != eSessionReady)
return false; return false;
const auto dlt = parent->Now() - lastActive; const auto dlt = parent->Now() - lastSend;
return dlt >= 10000; return dlt >= 10000;
} }