Browse Source

remove spurious :6060 listener for pprof

pull/122/head
Jae Kwon 9 years ago
parent
commit
91cf9d4595
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      node/node.go

+ 0
- 7
node/node.go View File

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


Loading…
Cancel
Save