ci: Increase GOMAXPROCS so that the tests run faster

This commit is contained in:
Daniel Nephin 2020-03-31 12:32:23 -04:00
parent a79417f973
commit 2a676dc287

View File

@ -83,8 +83,12 @@ jobs:
environment: environment:
<<: *ENVIRONMENT <<: *ENVIRONMENT
GOTAGS: "" # No tags for OSS but there are for enterprise 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 defaults to number of cores on underlying hardware, set
GOMAXPROCS: 2 # medium (default) boxes are 2 vCPUs, 4GB RAM https://circleci.com/docs/2.0/configuration-reference/#docker-executor # explicitly to avoid OOM issues https://support.circleci.com/hc/en-us/articles/360034684273-common-GoLang-memory-issues
GOMAXPROCS: 4
# The medium resource class (default) boxes are 2 vCPUs, 4GB RAM
# https://circleci.com/docs/2.0/configuration-reference/#docker-executor
# but we can run a little over that limit.
steps: steps:
- checkout - checkout
- attach_workspace: - attach_workspace: