From 1c71351652725a9cff885b645cb808a69b48c5aa Mon Sep 17 00:00:00 2001 From: Aarushi <50577581+aarushik93@users.noreply.github.com> Date: Mon, 14 Oct 2024 17:59:59 +0200 Subject: [PATCH] fix(backend): Lower the number of node workers to save DB connections (#8331) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change [graph]×[node] worker limit from 10×5 to 10×3 --------- Co-authored-by: Reinier van der Leer --- autogpt_platform/infra/helm/autogpt-server/values.dev.yaml | 4 ++-- autogpt_platform/infra/helm/autogpt-server/values.prod.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml b/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml index fa7de9873127..5fd79257f187 100644 --- a/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml +++ b/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml @@ -99,7 +99,7 @@ env: SUPABASE_JWT_SECRET: "" REDIS_PASSWORD: "password" NUM_GRAPH_WORKERS: 10 - NUM_NODE_WORKERS: 5 + NUM_NODE_WORKERS: 3 DATABASE_URL: "" SENTRY_DSN: "" ENABLE_CREDIT: "true" @@ -110,4 +110,4 @@ env: FRONTEND_BASE_URL: "https://dev-builder.agpt.co/" SUPABASE_URL: "https://adfjtextkuilwuhzdjpf.supabase.co" AGENTSERVER_HOST: "autogpt-server.dev-agpt.svc.cluster.local" - EXECUTIONMANAGER_HOST: "autogpt-server-executor.dev-agpt.svc.cluster.local" \ No newline at end of file + EXECUTIONMANAGER_HOST: "autogpt-server-executor.dev-agpt.svc.cluster.local" diff --git a/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml b/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml index 6eeb2996ead9..e8a55f6dff43 100644 --- a/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml +++ b/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml @@ -99,7 +99,7 @@ env: OPENAI_API_KEY: "" REDIS_PASSWORD: "" NUM_GRAPH_WORKERS: 10 - NUM_NODE_WORKERS: 5 + NUM_NODE_WORKERS: 3 ENABLE_CREDIT: "true" BACKEND_CORS_ALLOW_ORIGINS: '["https://platform.agpt.co"]' SUPABASE_JWT_SECRET: ""