Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaci committed Mar 12, 2017
1 parent 91335c3 commit b3c4ec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ func main() {
chScavenger := make(chan *smux.Session, 128)
go scavenger(chScavenger, config.ScavengeTTL)
go snmpLogger(config.SnmpLog, config.SnmpPeriod)
if c.Bool("pprof") {
if config.Pprof {
go http.ListenAndServe(":6060", nil)
}
rr := uint16(0)
Expand Down
2 changes: 1 addition & 1 deletion server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ func main() {
}

go snmpLogger(config.SnmpLog, config.SnmpPeriod)
if c.Bool("pprof") {
if config.Pprof {
go http.ListenAndServe(":6060", nil)
}

Expand Down

0 comments on commit b3c4ec9

Please sign in to comment.