From 3da569fd370effa13a93b6444b0ffc37c13c24b6 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Mon, 24 Oct 2022 10:42:48 -0400 Subject: [PATCH] add live activities worker --- render.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/render.yaml b/render.yaml index c999b8f..f687dad 100644 --- a/render.yaml +++ b/render.yaml @@ -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