[node] remove duplicated gc routine

Signed-off-by: Leo Chen <leo@harmony.one>
pull/1272/head
Leo Chen 5 years ago
parent b30bd2a467
commit cff6a7cd76
  1. 5
      cmd/harmony/main.go

@ -160,11 +160,6 @@ func initSetup() {
} }
utils.BootNodes = bootNodeAddrs utils.BootNodes = bootNodeAddrs
} }
// Set up manual call for garbage collection.
if *enableGC {
memprofiling.MaybeCallGCPeriodically()
}
} }
func passphraseForBls() { func passphraseForBls() {

Loading…
Cancel
Save