tailscale/tstime
Jonathan Nobels b24b36fcc8 ipn, tstime : add opt in rate limiting for netmap updates on the IPN bus
updates tailscale/corp#24553

Adds opt-in rate limiting to limit netmap updates to, at most, one every
3 seconds when the client includes the NotifyRateLimitNetmaps option
in the ipn bus watcher opts.   This should mitigate issues with excessive
memory and CPU usage in clients on large, busy tailnets.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
2024-11-15 15:14:16 -05:00
..
mono all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
rate ipn, tstime : add opt in rate limiting for netmap updates on the IPN bus 2024-11-15 15:14:16 -05:00
jitter_test.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
jitter.go all: use math/rand/v2 more 2024-06-05 15:24:04 -07:00
tstime_test.go tstime: rely on stdlib parse functionality (#7482) 2023-03-06 18:05:51 -08:00
tstime.go tstime: add DefaultClock (#9691) 2023-10-12 16:01:17 -07:00