You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd
Wendi Yu 0c69b4e00d
Implement rate limiting on log messages (#356)
Implement rate limiting on log messages

Addresses issue #317, where logs can get spammed with the same message
nonstop. Created a rate limiting closure on logging functions, which
limits the number of messages being logged per second based on format
string. To keep memory usage as constant as possible, the previous cache
purging at periodic time intervals has been replaced by an LRU that
discards the oldest string when the capacity of the cache is reached.


Signed-off-by: Wendi Yu <wendi.yu@yahoo.ca>
4 years ago
..
derper derp: move write timeout to package constant. 4 years ago
microproxy tsweb: rename Handler to ReturnHandler 4 years ago
mkpkg cmd/mkpkg: support adding empty directories. 4 years ago
relaynode cmd/relaynode: delete it! 4 years ago
tailscale cmd/netcheck: better DERP latency checking output 4 years ago
tailscaled Implement rate limiting on log messages (#356) 4 years ago
tsshd wgengine/monitor: don't call LinkChange when interfaces look unchanged 4 years ago