tune autoscaling for notifications worker

This commit is contained in:
Andre Medeiros 2022-05-23 15:53:01 -04:00
parent 1fca733818
commit d6f5671efb

View file

@ -83,8 +83,8 @@ services:
- key: BUGSNAG_METADATA_QUEUE - key: BUGSNAG_METADATA_QUEUE
value: notifications value: notifications
scaling: scaling:
minInstances: 1 minInstances: 2
maxInstances: 10 maxInstances: 20
targetCPUPercent: 75 targetCPUPercent: 75
buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
startCommand: panic-monitor ./apollo worker --queue notifications --multiplier 64 startCommand: panic-monitor ./apollo worker --queue notifications --multiplier 64