WIP: improve responsiveness.

This commit is contained in:
jdl
2026-06-15 17:59:25 +02:00
parent fa933ae029
commit 802ca9aba4
3 changed files with 21 additions and 10 deletions

View File

@@ -5,7 +5,6 @@ import (
"net/netip"
"time"
"vppn/peer/control"
"vppn/peer/wginterface"
)
@@ -30,11 +29,6 @@ func (a *App) onTick() {
p.EndpointWG = ep
}
// Send pings to peers where we're the client.
if p.Role == control.Client {
a.sendPing(p, now)
}
switch p.State {
case StateRelayed:
// If we have an ep to probe, add it.