diff --git a/laborious/worker/worker.py b/laborious/worker/worker.py index e847108..b34e07e 100644 --- a/laborious/worker/worker.py +++ b/laborious/worker/worker.py @@ -76,7 +76,12 @@ async def main(): activities.load_custom_query, activities.repeat_last_prediction, activities.export_data_to_postgres - ] + ], + max_concurrent_workflow_tasks=100, + max_concurrent_activities=100, + max_concurrent_local_activities=100, + max_concurrent_workflow_task_polls=100, + max_cached_workflows=50, ) ] diff --git a/values.yaml b/values.yaml index 9e5c34a..ec82e00 100644 --- a/values.yaml +++ b/values.yaml @@ -3,7 +3,7 @@ # Declare variables to be passed into your templates. # This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ -replicaCount: 1 +replicaCount: 5 # This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/ image: @@ -123,7 +123,7 @@ env: - name: GITHUB_REPO_URL value: "git@github.com:Aignosi/sientia-dataops-laborious_temporal.git" - name: GITHUB_BRANCH - value: "SIENTIAPDE-1110-criar-testes-e-2-e" + value: "SIENTIAPDE-1141-criar-testes-de-carga" - name: PYTHON_APP value: "laborious.worker.worker" @@ -141,7 +141,7 @@ env: - name: POSTGRES_MIN_CONNECTIONS value: "10" - name: POSTGRES_MAX_CONNECTIONS - value: "20" + value: "30" - name: MLFLOW_HOST value: "http://sientia-tracker-mlflow-tracking.sientia-tracker.svc.cluster.local"