mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-22 15:16:24 +00:00
Mergerun profileer in go func
This commit is contained in:
committed by
Jack Zampolin
parent
a4f9c6a5ba
commit
882e854d10
+3
-1
@@ -630,7 +630,9 @@ func NewNode(config *cfg.Config,
|
||||
}
|
||||
|
||||
if config.ProfListenAddress != "" {
|
||||
go logger.Error("Profile server", "err", http.ListenAndServe(config.ProfListenAddress, nil))
|
||||
go func() {
|
||||
logger.Error("Profile server", "err", http.ListenAndServe(config.ProfListenAddress, nil))
|
||||
}()
|
||||
}
|
||||
|
||||
node := &Node{
|
||||
|
||||
Reference in New Issue
Block a user