mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-24 20:57:43 +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:
|
scaling:
|
||||||
minInstances: 2
|
minInstances: 2
|
||||||
maxInstances: 20
|
maxInstances: 20
|
||||||
targetCPUPercent: 75
|
targetCPUPercent: 60
|
||||||
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
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ services:
|
||||||
scaling:
|
scaling:
|
||||||
minInstances: 1
|
minInstances: 1
|
||||||
maxInstances: 10
|
maxInstances: 10
|
||||||
targetCPUPercent: 75
|
targetCPUPercent: 60
|
||||||
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 stuck-notifications --multiplier 64
|
startCommand: panic-monitor ./apollo worker --queue stuck-notifications --multiplier 64
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ services:
|
||||||
scaling:
|
scaling:
|
||||||
minInstances: 1
|
minInstances: 1
|
||||||
maxInstances: 10
|
maxInstances: 10
|
||||||
targetCPUPercent: 75
|
targetCPUPercent: 60
|
||||||
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 subreddits --multiplier 64
|
startCommand: panic-monitor ./apollo worker --queue subreddits --multiplier 64
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ services:
|
||||||
scaling:
|
scaling:
|
||||||
minInstances: 1
|
minInstances: 1
|
||||||
maxInstances: 10
|
maxInstances: 10
|
||||||
targetCPUPercent: 75
|
targetCPUPercent: 60
|
||||||
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 trending --multiplier 64
|
startCommand: panic-monitor ./apollo worker --queue trending --multiplier 64
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue