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

Merged
moodyjon merged 1 commit from environment_var_GOMAXPROCS into master 2022-06-14 20:03:27 +02:00
moodyjon commented 2022-06-14 19:14:49 +02:00 (Migrated from github.com)

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

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

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 2022-06-14 19:35:35 +02:00 (Migrated from github.com)

Pull Request Test Coverage Report for Build 2496946736

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.007%) to 51.823%

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

💛 - Coveralls
## Pull Request Test Coverage Report for [Build 2496946736](https://coveralls.io/builds/50019712) * **1** of **1** **(100.0%)** changed or added relevant line in **1** file are covered. * No unchanged relevant lines lost coverage. * Overall coverage increased (+**0.007%**) to **51.823%** --- | Totals | [![Coverage Status](https://coveralls.io/builds/50019712/badge)](https://coveralls.io/builds/50019712) | | :-- | --: | | Change from base [Build 2450492318](https://coveralls.io/builds/49775589): | 0.007% | | Covered Lines: | 22456 | | Relevant Lines: | 43332 | --- ##### 💛 - [Coveralls](https://coveralls.io)
roylee17 commented 2022-06-14 20:03:22 +02:00 (Migrated from github.com)

LGTM. Thanks

LGTM. Thanks
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbcd#56
No description provided.