From 727afdd2a4947c3fa160887aca54a1d516f926ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Denquin?= Date: Mon, 6 Jan 2025 11:03:42 +0100 Subject: [PATCH] fix(workers): Fix billing worker DB pool (#133) --- templates/billing-worker-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/billing-worker-deployment.yaml b/templates/billing-worker-deployment.yaml index 548181b..3e09a3b 100644 --- a/templates/billing-worker-deployment.yaml +++ b/templates/billing-worker-deployment.yaml @@ -110,7 +110,7 @@ spec: - name: LAGO_DISABLE_SEGMENT value: {{ not .Values.global.segment.enabled | quote }} - name: DATABASE_POOL - value: {{ .Values.billingWorker.rails.sidekiqConcurrency | quote }} + value: {{ (mul .Values.billingWorker.rails.sidekiqConcurrency 2) | quote }} - name: SIDEKIQ_CONCURRENCY value: {{ .Values.billingWorker.rails.sidekiqConcurrency | quote }} - name: LAGO_LOG_LEVEL