mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Export GOMAXPROCS environment variable
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
This commit is contained in:
parent
e865b30abd
commit
c8737346db
@ -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