mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 23:47:44 +00:00
tune autoscaling for notifications worker
This commit is contained in:
parent
1fca733818
commit
d6f5671efb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue