increase API connections

This commit is contained in:
Andre Medeiros 2022-06-25 14:01:03 -04:00
parent 6b7abe4eb0
commit aa92f1ec69
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ func APICmd(ctx context.Context) *cobra.Command {
}
defer statsd.Close()
db, err := cmdutil.NewDatabasePool(ctx, 1)
db, err := cmdutil.NewDatabasePool(ctx, 16)
if err != nil {
return err
}

View file

@ -65,8 +65,8 @@ services:
- key: BUGSNAG_APP_TYPE
value: api
scaling:
minInstances: 1
maxInstances: 3
minInstances: 2
maxInstances: 4
targetCPUPercent: 60
buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
startCommand: panic-monitor ./apollo api