https://github.com/uber-go/automaxprocs
Automatically set GOMAXPROCS to match Linux container CPU quota.
import _ "go.uber.org/automaxprocs"func main() {// Your application logic here.}
https://github.com/uber-go/automaxprocs
Automatically set GOMAXPROCS to match Linux container CPU quota.
import _ "go.uber.org/automaxprocs"func main() {// Your application logic here.}
若有收获,就点个赞吧
0 人点赞
让时间为你证明