diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2025-09-15 15:49:56 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <brad@danga.com> | 2025-09-15 16:12:24 -0700 |
| commit | 8b48f3847d91d9a309b9593dcd17d7fe6aae1291 (patch) | |
| tree | 7b181811c653413a494e41c6f07d4bd9350cbbd0 /control/controlknobs/controlknobs.go | |
| parent | 5c24f0ed803a0f60d3a05f148f3e20f99f3d00d7 (diff) | |
| download | tailscale-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
