mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-18 12:32:13 +00:00
types/logger: fix rate limiter allowlist
Upstream wireguard-go renamed the interface method from CreateEndpoint to ParseEndpoint. I updated the log call site but not the allowlist. Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
parent
be56aa4962
commit
f116a4c44f
@ -66,7 +66,7 @@ var disableRateLimit = os.Getenv("TS_DEBUG_LOG_RATE") == "all"
|
|||||||
// Things should not be added to this unless they're already limited otherwise.
|
// Things should not be added to this unless they're already limited otherwise.
|
||||||
var rateFree = []string{
|
var rateFree = []string{
|
||||||
"magicsock: disco: ",
|
"magicsock: disco: ",
|
||||||
"magicsock: CreateEndpoint:",
|
"magicsock: ParseEndpoint:",
|
||||||
}
|
}
|
||||||
|
|
||||||
// RateLimitedFn is a wrapper for RateLimitedFnWithClock that includes the
|
// RateLimitedFn is a wrapper for RateLimitedFnWithClock that includes the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user