[ethereum/go-ethereum] ethash: use numcpu instead of maxprocs (#16847)

The call to `runtime.GOMAXPROCS(0)` is the same as `NumCPU()`, but the former also stops the world.
You can view, comment on, or merge this pull request online at:

https://github.com/ethereum/go-ethereum/pull/16847

— Commit Summary —

* ethash: use numcpu instead of maxprocs

— File Changes —

M consensus/ethash/consensus.go (2)

— Patch Links —

https://github.com/ethereum/go-ethereum/pull/16847.patch
https://github.com/ethereum/go-ethereum/pull/16847.diff

Запись редактировалась последний раз: May 30, 2018, 8:13 pm