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

Change [graph]×[node] worker limit from 10×5 to 10×3

---------

Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
This commit is contained in:
Aarushi
2024-10-14 17:59:59 +02:00
committed by GitHub
parent bd5d2b1e86
commit 1c71351652
2 changed files with 3 additions and 3 deletions

View File

@@ -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"
EXECUTIONMANAGER_HOST: "autogpt-server-executor.dev-agpt.svc.cluster.local"

View File

@@ -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: ""