From 94748e3c726fbc423c68f1275cc6239f1240a32a Mon Sep 17 00:00:00 2001 From: "Maxim.Kolmakov" Date: Fri, 17 Nov 2023 22:41:05 +0100 Subject: [PATCH] Limit GOMAXPROCS according to kube limits --- pkg/server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/server/server.go b/pkg/server/server.go index 237e048b..da3e1b69 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -15,6 +15,7 @@ import ( "github.com/nats-io/nats.go" "github.com/rs/cors" "github.com/valyala/bytebufferpool" + _ "go.uber.org/automaxprocs" "go.uber.org/zap" "io" "net/http"