mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-21 19:37:41 +00:00
tweak scaling
This commit is contained in:
parent
253fc7bbc6
commit
51ba167a09
1 changed files with 4 additions and 4 deletions
|
@ -89,7 +89,7 @@ services:
|
|||
scaling:
|
||||
minInstances: 2
|
||||
maxInstances: 20
|
||||
targetCPUPercent: 75
|
||||
targetCPUPercent: 60
|
||||
buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
|
||||
startCommand: panic-monitor ./apollo worker --queue notifications --multiplier 64
|
||||
|
||||
|
@ -107,7 +107,7 @@ services:
|
|||
scaling:
|
||||
minInstances: 1
|
||||
maxInstances: 10
|
||||
targetCPUPercent: 75
|
||||
targetCPUPercent: 60
|
||||
buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
|
||||
startCommand: panic-monitor ./apollo worker --queue stuck-notifications --multiplier 64
|
||||
|
||||
|
@ -151,7 +151,7 @@ services:
|
|||
scaling:
|
||||
minInstances: 1
|
||||
maxInstances: 10
|
||||
targetCPUPercent: 75
|
||||
targetCPUPercent: 60
|
||||
buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
|
||||
startCommand: panic-monitor ./apollo worker --queue subreddits --multiplier 64
|
||||
|
||||
|
@ -169,7 +169,7 @@ services:
|
|||
scaling:
|
||||
minInstances: 1
|
||||
maxInstances: 10
|
||||
targetCPUPercent: 75
|
||||
targetCPUPercent: 60
|
||||
buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
|
||||
startCommand: panic-monitor ./apollo worker --queue trending --multiplier 64
|
||||
|
||||
|
|
Loading…
Reference in a new issue