summaryrefslogtreecommitdiffhomepage
path: root/util/limiter
AgeCommit message (Collapse)AuthorFilesLines
2024-07-10all: add test for package comments, fix, add comments as neededBrad Fitzpatrick1-0/+1
Updates #cleanup Change-Id: Ic4304e909d2131a95a38b26911f49e7b1729aaef Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-04-16all: use Go 1.22 range-over-intBrad Fitzpatrick1-2/+2
Updates #11058 Change-Id: I35e7ef9b90e83cac04ca93fd964ad00ed5b48430 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-09-08util/lru, util/limiter: add debug helper to dump state as HTMLDavid Anderson2-0/+115
For use in tsweb debug handlers, so that we can easily inspect cache and limiter state when troubleshooting. Updates tailscale/corp#3601 Signed-off-by: David Anderson <danderson@tailscale.com>
2023-09-06util/limiter: add a keyed token bucket rate limiterDavid Anderson2-0/+300
Updates tailscale/corp#3601 Signed-off-by: David Anderson <danderson@tailscale.com>