Export GOMAXPROCS environment variable
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
This commit is contained in:
@@ -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}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user