mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 04:52:08 +00:00
Merge pull request #117885 from xmudrii/export-gomaxprocs
Export GOMAXPROCS environment variable
This commit is contained in:
commit
c75ac4cb2e
@ -568,6 +568,7 @@ kube::golang::setup_env() {
|
||||
fi
|
||||
|
||||
GOMAXPROCS=${GOMAXPROCS:-$(ncpu)}
|
||||
export GOMAXPROCS
|
||||
kube::log::status "Setting GOMAXPROCS: ${GOMAXPROCS}"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user