mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 21:15:39 +00:00
d1146dc701
We can log too quickly for logtail to catch up, even when we opt out of log rate-limiting. When the user passes the --diagnose flag to bugreport, we use a token bucket to control how many logs per second are printed and sleep until we're able to write more. Signed-off-by: Andrew Dunham <andrew@du.nham.ca> Change-Id: If27672d66b621b589280bd0fe228de367ffcbd8f |
||
---|---|---|
.. | ||
logger_test.go | ||
logger.go | ||
rusage_stub.go | ||
rusage_syscall.go | ||
rusage.go | ||
tokenbucket.go |