TUN-4356: Set AUTOMAXPROCS to the CPU limit when running in a Linux container

This commit is contained in:
Adam Chalmers
2021-05-06 12:22:43 -05:00
committed by Areg Harutyunyan
parent 209091da39
commit 07af2a33b7
28 changed files with 1244 additions and 0 deletions

1
go.mod
View File

@@ -43,6 +43,7 @@ require (
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/stretchr/testify v1.6.0
github.com/urfave/cli/v2 v2.2.0
go.uber.org/automaxprocs v1.4.0
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a
golang.org/x/net v0.0.0-20200904194848-62affa334b73
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43 // indirect