Skip to content

Commit

Permalink
Dereference pprof port when initializing debug
Browse files Browse the repository at this point in the history
  • Loading branch information
kthomas committed Aug 1, 2024
1 parent 8179ba8 commit c4bd7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nex/debug_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func initDebug(logger *slog.Logger) (func() error, error) {
}

go func() {
fmt.Println(http.ListenAndServe(fmt.Sprintf(":%d", node_pprof_port), nil))
fmt.Println(http.ListenAndServe(fmt.Sprintf(":%d", *node_pprof_port), nil))
}()

logger.Info("******************* DEBUG BUILD *******************")
Expand Down

0 comments on commit c4bd7be

Please sign in to comment.