diff --git a/cmd/client/txgen/main.go b/cmd/client/txgen/main.go index e389b1ddc..30f2dafaf 100644 --- a/cmd/client/txgen/main.go +++ b/cmd/client/txgen/main.go @@ -7,7 +7,6 @@ import ( "math/rand" "os" "path" - "runtime" "sync" "time" @@ -135,8 +134,6 @@ func main() { if *versionFlag { printVersion(os.Args[0]) } - // Add GOMAXPROCS to achieve max performance. - runtime.GOMAXPROCS(1024) // Logging setup utils.SetLogContext(*port, *ip) utils.SetLogVerbosity(log.Lvl(*verbosity)) @@ -240,7 +237,6 @@ pushLoop: select { case shardID := <-readySignal: lock := sync.Mutex{} - utils.GetLogInstance().Warn("STARTING TX GEN PUSH LOOP", "gomaxprocs", runtime.GOMAXPROCS(0)) txs, err := GenerateSimulatedTransactionsAccount(uint32(shardID), txGen, setting) if err != nil { utils.GetLogInstance().Debug("Error in Generating Txns", "Err", err) diff --git a/cmd/harmony/main.go b/cmd/harmony/main.go index 992ae2d3b..eeb9a5f94 100644 --- a/cmd/harmony/main.go +++ b/cmd/harmony/main.go @@ -7,7 +7,6 @@ import ( "math/rand" "os" "path" - "runtime" "time" "github.com/ethereum/go-ethereum/ethdb" @@ -149,9 +148,6 @@ func initSetup() { // Set default keystore Dir hmykey.DefaultKeyStoreDir = *keystoreDir - // Add GOMAXPROCS to achieve max performance. - runtime.GOMAXPROCS(1024) - // Set up randomization seed. rand.Seed(int64(time.Now().Nanosecond()))