diff options
| author | M. J. Fromberger <fromberger@tailscale.com> | 2025-10-29 08:37:19 -0700 |
|---|---|---|
| committer | Tom Proctor <tomhjp@users.noreply.github.com> | 2025-10-31 21:09:32 +0000 |
| commit | 6e2f2bb31aaaf78f730456795a935c7eec24ad9a (patch) | |
| tree | e6e4115c5554a056c748d3025f8231c12d739e5d /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | faca4c08b70dd54b433c33c211a26fff9fc3d3d0 (diff) | |
| download | tailscale-6e2f2bb31aaaf78f730456795a935c7eec24ad9a.tar.xz tailscale-6e2f2bb31aaaf78f730456795a935c7eec24ad9a.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>
(cherry picked from commit 06b092388e4efb2226a264a03df14b778505278c)
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
