lbryio / lbcd

An alternative full node implementation of LBRY's blockchain written in Go (golang)
https://lbry.com/
ISC License
38 stars 25 forks source link

Allow environment var GOMAXPROCS=<N> to override NumCPU(). #56

Closed moodyjon closed 2 years ago

moodyjon commented 2 years ago

Default value of GOMAXPROCS is NumCPU(), so ordinary behavior does not change.

However, this allows tuning the number of threads used for claimtrie rebuild.

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 2496946736


Totals Coverage Status
Change from base Build 2450492318: 0.007%
Covered Lines: 22456
Relevant Lines: 43332

💛 - Coveralls
roylee17 commented 2 years ago

LGTM. Thanks