diff --git a/internal/cmd/worker.go b/internal/cmd/worker.go index 21dd76c..86e5140 100644 --- a/internal/cmd/worker.go +++ b/internal/cmd/worker.go @@ -48,8 +48,6 @@ func WorkerCmd(ctx context.Context) *cobra.Command { poolSize := consumers / 4 - runtime.GOMAXPROCS(consumers) - db, err := cmdutil.NewDatabasePool(ctx, poolSize) if err != nil { return err diff --git a/render.yaml b/render.yaml index d8e7852..41b97f5 100644 --- a/render.yaml +++ b/render.yaml @@ -91,7 +91,7 @@ services: maxInstances: 30 targetCPUPercent: 80 buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo - startCommand: panic-monitor ./apollo worker --queue notifications --consumers 1024 + startCommand: panic-monitor ./apollo worker --queue notifications --consumers 256 # Stuck Notifications Checker - type: worker