Skip to content

Commit eb832fd

Browse files
committed
pprof
1 parent 7bd246e commit eb832fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

loopd/daemon.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,11 @@ func (d *Daemon) initialize(withMacaroonService bool) error {
577577
staticLoopInManager *loopin.Manager
578578
)
579579

580+
go func() {
581+
infof("pprof listening on :6060")
582+
http.ListenAndServe("localhost:6060", nil)
583+
}()
584+
580585
// Static address manager setup.
581586
staticAddressStore := address.NewSqlStore(baseDb)
582587
addrCfg := &address.ManagerConfig{

0 commit comments

Comments
 (0)