Revert "Make GOMAXPROCS CPU limit aware"

I shouldn't have merged this without running the tests.

This libray logs to stderr on init, which is a no go for us.

Re. test failure:

```
[stderr]
2023/05/17 18:21:04 maxprocs: Leaving GOMAXPROCS=2: CPU quota undefined
```
This reverts commit 59050f97f6.
This commit is contained in:
Bjørn Erik Pedersen 2023-05-17 21:01:52 +02:00
parent 59050f97f6
commit 0106cf1a6d
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
3 changed files with 0 additions and 6 deletions

View file

@ -18,9 +18,6 @@ import (
"os"
"github.com/gohugoio/hugo/commands"
// default GOMAXPROCS to be CPU limit aware, still respecting GOMAXPROCS env
_ "go.uber.org/automaxprocs"
)
func main() {