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