tailscale/types
Avery Pennarun af9328c1b7 log rate limiting: reformat limiter messages, and use nonempty burst size.
- Reformat the warning about a message being rate limited to print the
  format string, rather than the formatted message. This helps give a
  clue what "type" of message is being limited.

- Change the rate limit warning to be [RATE LIMITED] in all caps. This
  uses less space on each line, plus is more noticeable.

- In tailscaled, change the frequency to be less often (once every 5
  seconds per format string) but to allow bursts of up to 5 messages.
  This greatly reduces the number of messages that are rate limited
  during startup, but allows us to tighten the limit even further during
  normal runtime.

Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
2020-05-20 11:59:21 -04:00
..
empty types/empty: add Message, stop using mysterious *struct{} 2020-02-14 13:35:49 -08:00
key wgengine: don't allocate so much in userspaceEngine.getStatus 2020-04-09 12:49:17 -07:00
logger log rate limiting: reformat limiter messages, and use nonempty burst size. 2020-05-20 11:59:21 -04:00
opt types/opt: add opt package for a new opt.Bool JSON type 2020-02-27 10:39:42 -08:00
structs types/structs: add structs.Incomparable annotation, use it where applicable 2020-05-03 14:05:32 -07:00