mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-21 19:37:41 +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
|
||||
value: notifications
|
||||
scaling:
|
||||
minInstances: 1
|
||||
maxInstances: 10
|
||||
minInstances: 2
|
||||
maxInstances: 20
|
||||
targetCPUPercent: 75
|
||||
buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
|
||||
startCommand: panic-monitor ./apollo worker --queue notifications --multiplier 64
|
||||
|
|
Loading…
Reference in a new issue