mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 05:30:54 +03:00
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:
parent
59050f97f6
commit
0106cf1a6d
3 changed files with 0 additions and 6 deletions
3
main.go
3
main.go
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue