cmd/bootnode,internal/debug: fix some comments (#21623)

pull/21638/head
mr_franklin 4 years ago committed by GitHub
parent 901471f733
commit 4ee11b072e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/bootnode/main.go
  2. 2
      internal/debug/api.go

@ -44,7 +44,7 @@ func main() {
natdesc = flag.String("nat", "none", "port mapping mechanism (any|none|upnp|pmp|extip:<IP>)")
netrestrict = flag.String("netrestrict", "", "restrict network communication to the given IP networks (CIDR masks)")
runv5 = flag.Bool("v5", false, "run a v5 topic discovery bootnode")
verbosity = flag.Int("verbosity", int(log.LvlInfo), "log verbosity (0-9)")
verbosity = flag.Int("verbosity", int(log.LvlInfo), "log verbosity (0-5)")
vmodule = flag.String("vmodule", "", "log verbosity pattern")
nodeKey *ecdsa.PrivateKey

@ -196,7 +196,7 @@ func (*HandlerT) Stacks() string {
return buf.String()
}
// FreeOSMemory returns unused memory to the OS.
// FreeOSMemory forces a garbage collection.
func (*HandlerT) FreeOSMemory() {
debug.FreeOSMemory()
}

Loading…
Cancel
Save