tailscale/appc
Fran Bull 7eb8a77ac8 appc: don't schedule advertisement of 0 routes
When the store-appc-routes flag is on for a tailnet we are writing the
routes more often than seems necessary. Investigation reveals that we
are doing so ~every time we observe a dns response, even if this causes
us not to advertise any new routes. So when we have no new routes,
instead do not advertise routes.

Fixes #12593

Signed-off-by: Fran Bull <fran@tailscale.com>
2024-06-25 08:12:51 -07:00
..
appctest appc: add test to ensure that individual IPs are not removed during route updates 2024-01-22 17:50:55 -08:00
appconnector_test.go appc: log how many routes are being written 2024-06-07 12:04:43 -07:00
appconnector.go appc: don't schedule advertisement of 0 routes 2024-06-25 08:12:51 -07:00