summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2025-09-15 15:49:56 -0700
committerBrad Fitzpatrick <brad@danga.com>2025-09-15 16:12:24 -0700
commit8b48f3847d91d9a309b9593dcd17d7fe6aae1291 (patch)
tree7b181811c653413a494e41c6f07d4bd9350cbbd0 /control/controlknobs/controlknobs.go
parent5c24f0ed803a0f60d3a05f148f3e20f99f3d00d7 (diff)
downloadtailscale-8b48f3847d91d9a309b9593dcd17d7fe6aae1291.tar.xz
tailscale-8b48f3847d91d9a309b9593dcd17d7fe6aae1291.zip
net/netmon, wgengine/magicsock: simplify LinkChangeLogLimiter signature
Remove the need for the caller to hold on to and call an unregister function. Both two callers (one real, one test) already have a context they can use. Use context.AfterFunc instead. There are no observable side effects from scheduling too late if the goroutine doesn't run sync. Updates #17148 Change-Id: Ie697dae0e797494fa8ef27fbafa193bfe5ceb307 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions