graph: rename routerStats to builderStats

This logic used to be handled by the router. Update to reflect new
owner.
This commit is contained in:
Elle Mouton committed 2025-02-07 13:01:39 +02:00
1 parent d757b3bcfc
commit 6169b47d65
2 files changed
+12 -12

No files matched your search

+2 -2
View File
@@ -153,7 +153,7 @@ type Builder struct {
// stats tracks newly processed channels, updates, and node
// announcements over a window of defaultStatInterval.
stats *routerStats
stats *builderStats
quit chan struct{}
wg sync.WaitGroup
@@ -171,7 +171,7 @@ func NewBuilder(cfg *Config) (*Builder, error) {
ntfnClientUpdates: make(chan *topologyClientUpdate),
channelEdgeMtx: multimutex.NewMutex[uint64](),
statTicker: ticker.New(defaultStatInterval),
stats: new(routerStats),
stats: new(builderStats),
quit: make(chan struct{}),
}, nil
}