diff --git a/deploy/ecs/task-definition-worker.staging.json b/deploy/ecs/task-definition-worker.staging.json index 1dae5664..f9ef7d6c 100644 --- a/deploy/ecs/task-definition-worker.staging.json +++ b/deploy/ecs/task-definition-worker.staging.json @@ -23,6 +23,7 @@ {"name": "DB_SSL_MODE", "value": "require"}, {"name": "DB_SYNC_POOL_SIZE", "value": "2"}, {"name": "DB_SYNC_MAX_OVERFLOW", "value": "2"}, + {"name": "WORKER_CONCURRENCY", "value": "10"}, {"name": "TMP_PATH", "value": "/tmp/aismart_bid"}, {"name": "S3_TYPE", "value": "s3"}, {"name": "S3_BUCKET_NAME", "value": "knowhere-storage-staging"}, diff --git a/deploy/ecs/test_render_task_definitions.py b/deploy/ecs/test_render_task_definitions.py index 7d4bb39a..30248561 100644 --- a/deploy/ecs/test_render_task_definitions.py +++ b/deploy/ecs/test_render_task_definitions.py @@ -53,6 +53,7 @@ "PDF_PROFILE_TOC_ENABLED": "true", "REDIS_SYNC_MAX_CONNECTIONS": "200", "SUMMARY_LLM_MAX_CONCURRENT": "8", + "WORKER_CONCURRENCY": "10", }