mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-03 23:15:52 +00:00
ping on send idle not recv idle
This commit is contained in:
parent
abb1924eef
commit
915b11b0bb
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user