From 2a676dc287315db1f9811af351ee386d5d99dbda Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Tue, 31 Mar 2020 12:32:23 -0400 Subject: [PATCH] ci: Increase GOMAXPROCS so that the tests run faster --- .circleci/config.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 215b22bf81..f2cf5b82f3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -83,8 +83,12 @@ 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 + # 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: 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: - checkout - attach_workspace: