remove spurious :6060 listener for pprof

This commit is contained in:
Jae Kwon
2015-07-23 14:15:53 -07:00
parent f91bc8d8c3
commit 91cf9d4595

View File

@ -2,7 +2,6 @@ package node
import ( import (
"bytes" "bytes"
"fmt"
"math/rand" "math/rand"
"net" "net"
"net/http" "net/http"
@ -28,12 +27,6 @@ import (
import _ "net/http/pprof" import _ "net/http/pprof"
func init() {
go func() {
fmt.Println(http.ListenAndServe("0.0.0.0:6060", nil))
}()
}
type Node struct { type Node struct {
sw *p2p.Switch sw *p2p.Switch
evsw *events.EventSwitch evsw *events.EventSwitch