Skip to content

Commit

Permalink
graph: add log lines for stop and start func.
Browse files Browse the repository at this point in the history
  • Loading branch information
ziggie1984 committed Jul 27, 2024
1 parent 3cfb69a commit 662b7f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion graph/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ func (b *Builder) Start() error {
b.wg.Add(1)
go b.networkHandler()

log.Debug("Builder started")

return nil
}

Expand All @@ -312,7 +314,6 @@ func (b *Builder) Stop() error {
}

log.Info("Builder shutting down...")
defer log.Debug("Builder shutdown complete")

// Our filtered chain view could've only been started if
// AssumeChannelValid isn't present.
Expand All @@ -325,6 +326,8 @@ func (b *Builder) Stop() error {
close(b.quit)
b.wg.Wait()

log.Debug("Builder shutdown complete")

return nil
}

Expand Down

0 comments on commit 662b7f7

Please sign in to comment.