add live activities worker

This commit is contained in:
Andre Medeiros 2022-10-24 10:42:48 -04:00
parent 696f932baa
commit 3da569fd37

View file

@ -173,6 +173,24 @@ services:
buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
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:
# Environment
- name: env-settings