tweak timeout

pull/309/head
Jeff Becker 6 years ago
parent 409cd62050
commit 1921704b78
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -1737,7 +1737,7 @@ namespace llarp
++itr; ++itr;
} }
// send control message if we look too quiet // send control message if we look too quiet
if(now - lastGoodSend > 60000) if(now - lastGoodSend > (sendTimeout / 2))
{ {
Encrypted< 64 > tmp; Encrypted< 64 > tmp;
tmp.Randomize(); tmp.Randomize();

Loading…
Cancel
Save