ci: set GOMAXPROCS (#6908)
* ci: add comment clarify rationale for setting GOMAXPROCS
This commit is contained in:
parent
41e98e273c
commit
5a2a8ec6f3
|
@ -92,6 +92,8 @@ jobs:
|
|||
environment:
|
||||
<<: *ENVIRONMENT
|
||||
GOTAGS: "" # No tags for OSS but there are for enterprise
|
||||
# GOMAXPROCS defaults to number of cores on underlying hardware, set explicitly to avoid OOM issues https://support.circleci.com/hc/en-us/articles/360034684273-common-GoLang-memory-issues
|
||||
GOMAXPROCS: 2 # medium (default) boxes are 2 vCPUs, 4GB RAM https://circleci.com/docs/2.0/configuration-reference/#docker-executor
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache: # restore cache from earlier job
|
||||
|
|
Loading…
Reference in New Issue