increase timer timeout interval because 1 seconds RTT can happen but 2 seconds is pretty bad

This commit is contained in:
Jeff Becker 2021-06-09 20:15:22 -04:00
parent fab086db0c
commit 5cdb1afa0d
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ namespace llarp
{
SendLatencyMessage(r);
// latency test FEC
r->loop()->call_later(1s, [self = shared_from_this(), r]() {
r->loop()->call_later(2s, [self = shared_from_this(), r]() {
if (self->m_LastLatencyTestID)
self->SendLatencyMessage(r);
});