go.uber.org/automaxprocs
Package automaxprocs automatically sets GOMAXPROCS to match the Linux container CPU quota, if any.
go get go.uber.org/automaxprocs Package automaxprocs automatically sets GOMAXPROCS to match the Linux container CPU quota, if any.
go get go.uber.org/automaxprocs