Allow environment var GOGC=<percent> to override hard-coded SetGCPercent(10) #45
No reviewers
Labels
No labels
ci
claimtrie
consider soon
Epic
good first issue
hacktoberfest
help wanted
mempool
mining
peer
priority: blocker
priority: high
priority: low
priority: medium
rpc
runtime
test
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
ux
wallet
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbcd#45
Loading…
Reference in a new issue
No description provided.
Delete branch "gogc_env_var"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Unbundled from PR https://github.com/lbryio/lbcd/pull/43
See that for usage/testing. (TODO)
The default (10) only lets heap grow 10% before triggering GC. Running with (for example) "GOGC=100" will reduce CPU usage while heap is allowed to fluctuate more.
Pull Request Test Coverage Report for Build 2434997880
💛 - Coveralls
LGTM. Thanks!