mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 20:17: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
|
fi
|
||||||
|
|
||||||
GOMAXPROCS=${GOMAXPROCS:-$(ncpu)}
|
GOMAXPROCS=${GOMAXPROCS:-$(ncpu)}
|
||||||
|
export GOMAXPROCS
|
||||||
kube::log::status "Setting GOMAXPROCS: ${GOMAXPROCS}"
|
kube::log::status "Setting GOMAXPROCS: ${GOMAXPROCS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user