tailscale/wgengine/magicsock
David Anderson 554a20becb wgengine/magicsock: only log about lazy config when actually doing lazy config.
Before, tailscaled would log every 10 seconds when the periodic noteRecvActivity
call happens. This is noisy, but worse it's misleading, because the message
suggests that the disco code is starting a lazy config run for a missing peer,
whereas in fact it's just an internal piece of keepalive logic.

With this change, we still log when going from 0->1 tunnel for the peer, but
not every 10s thereafter.

Signed-off-by: David Anderson <danderson@tailscale.com>
2020-12-17 12:11:36 -08:00
..
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 2020-09-14 14:29:28 -07:00
magicsock_test.go wgengine/magicsock: add start of magicsock benchmarks (Conn.ReceiveIPv4 for now) 2020-12-02 20:26:54 -08:00
magicsock.go wgengine/magicsock: only log about lazy config when actually doing lazy config. 2020-12-17 12:11:36 -08:00