Skip to content

Commit

Permalink
use GOMAXPROCS instead of NumCPU
Browse files Browse the repository at this point in the history
  • Loading branch information
welkin22 committed Oct 23, 2024
1 parent 28398ef commit 77de2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/pevm_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func newPEVMProcessor(config *params.ChainConfig, bc *BlockChain, engine consens
}
initParallelRunner(bc.vmConfig.ParallelTxNum)
log.Info("Parallel execution mode is enabled", "Parallel Num", ParallelNum(),
"CPUNum", runtime.NumCPU(), "unorderedMerge", processor.unorderedMerge)
"CPUNum", runtime.GOMAXPROCS(0), "unorderedMerge", processor.unorderedMerge)
return processor
}

Expand Down

0 comments on commit 77de2a1

Please sign in to comment.