aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-05-17 21:01:52 +0200
committerBjørn Erik Pedersen <[email protected]>2023-05-17 21:01:52 +0200
commit0106cf1a6db73f76b7f26744fcee6ce7f41cdf07 (patch)
treeb27a71ab1d2cdfafa410a75ef94ab347db6cdeab /main.go
parent59050f97f637b7cb423e6f5b63e36c1ea973c183 (diff)
downloadhugo-0106cf1a6db73f76b7f26744fcee6ce7f41cdf07.tar.gz
hugo-0106cf1a6db73f76b7f26744fcee6ce7f41cdf07.zip
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 59050f97f637b7cb423e6f5b63e36c1ea973c183.
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/main.go b/main.go
index 51c0a04bd..e08bf7c53 100644
--- a/main.go
+++ b/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() {