diff options
| author | M. J. Fromberger <fromberger@tailscale.com> | 2025-10-29 08:37:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-29 08:37:19 -0700 |
| commit | 06b092388e4efb2226a264a03df14b778505278c (patch) | |
| tree | 60d53076952b0368a9e9c562f5f8449674735ec5 /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | 3c19addc21c55c83ea1f4180789784c91f2bf348 (diff) | |
| download | tailscale-06b092388e4efb2226a264a03df14b778505278c.tar.xz tailscale-06b092388e4efb2226a264a03df14b778505278c.zip | |
ipn/ipnlocal: do not stall event processing for appc route updates (#17663)
A follow-up to #17411. Put AppConnector events into a task queue, as they may
take some time to process. Ensure that the queue is stopped at shutdown so that
cleanup will remain orderly.
Because events are delivered on a separate goroutine, slow processing of an
event does not cause an immediate problem; however, a subscriber that blocks
for a long time will push back on the bus as a whole. See
https://godoc.org/tailscale.com/util/eventbus#hdr-Expected_subscriber_behavior
for more discussion.
Updates #17192
Updates #15160
Change-Id: Ib313cc68aec273daf2b1ad79538266c81ef063e3
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
