Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(backend): Lower the number of node workers to save DB connections (#8331)

Aarushi1c7135165272
diff --git a/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml b/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml
index fa7de98731..5fd79257f1 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 6eeb2996ea..e8a55f6dff 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: ""