mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-22 03:37:43 +00:00
add live activities worker
This commit is contained in:
parent
696f932baa
commit
3da569fd37
1 changed files with 18 additions and 0 deletions
18
render.yaml
18
render.yaml
|
@ -173,6 +173,24 @@ services:
|
||||||
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
|
||||||
|
|
||||||
|
# Live Activities
|
||||||
|
- type: worker
|
||||||
|
name: worker.live-activities
|
||||||
|
env: go
|
||||||
|
plan: starter plus
|
||||||
|
envVars:
|
||||||
|
- fromGroup: env-settings
|
||||||
|
- key: BUGSNAG_APP_TYPE
|
||||||
|
value: worker
|
||||||
|
- key: BUGSNAG_METADATA_QUEUE
|
||||||
|
value: live-activities
|
||||||
|
scaling:
|
||||||
|
minInstances: 2
|
||||||
|
maxInstances: 20
|
||||||
|
targetCPUPercent: 60
|
||||||
|
buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
|
||||||
|
startCommand: panic-monitor ./apollo worker --queue live-activities
|
||||||
|
|
||||||
envVarGroups:
|
envVarGroups:
|
||||||
# Environment
|
# Environment
|
||||||
- name: env-settings
|
- name: env-settings
|
||||||
|
|
Loading…
Reference in a new issue