graph: rename routerStats to builderStats
This logic used to be handled by the router. Update to reflect new owner.
This commit is contained in:
2 files changed
+12
-12
No files matched your search
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user