mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-23 03:17:43 +00:00
util/eventbus: initial debugging facilities for the event bus
Enables monitoring events as they flow, listing bus clients, and snapshotting internal queues to troubleshoot stalls. Updates #15160 Signed-off-by: David Anderson <dave@tailscale.com>
This commit is contained in:

committed by
Dave Anderson

parent
5ce8cd5fec
commit
853abf8661
@@ -52,7 +52,7 @@ func (p *Publisher[T]) Publish(v T) {
|
||||
default:
|
||||
}
|
||||
|
||||
evt := publishedEvent{
|
||||
evt := PublishedEvent{
|
||||
Event: v,
|
||||
From: p.client,
|
||||
}
|
||||
|
Reference in New Issue
Block a user