Skip to content

Commit

Permalink
Limit GOMAXPROCS according to kube limits
Browse files Browse the repository at this point in the history
  • Loading branch information
MaXal committed Nov 17, 2023
1 parent c35ba2e commit 94748e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
"github.com/nats-io/nats.go"
"github.com/rs/cors"
"github.com/valyala/bytebufferpool"
_ "go.uber.org/automaxprocs"

Check warning on line 18 in pkg/server/server.go

View workflow job for this annotation

GitHub Actions / lint and test backend

blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
"go.uber.org/zap"
"io"
"net/http"
Expand Down

0 comments on commit 94748e3

Please sign in to comment.