From 56cfdce4539c885c5c6ec33c2d23c42cf8c10844 Mon Sep 17 00:00:00 2001 From: yihong Date: Tue, 17 Dec 2024 09:01:23 +0800 Subject: [PATCH] chore: update docker env close #11703 (#11706) Signed-off-by: yihong0618 --- docker/.env.example | 3 +++ docker/docker-compose.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/docker/.env.example b/docker/.env.example index db85e5d5118faf..5ffab952c738f9 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -944,3 +944,6 @@ CSP_WHITELIST= # Enable or disable create tidb service job CREATE_TIDB_SERVICE_JOB_ENABLED=false + +# Maximum number of submitted thread count in a ThreadPool for parallel node execution +MAX_SUBMIT_COUNT=100 diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 2860460d97a7c7..7e5f7ef11f723b 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -287,6 +287,7 @@ x-shared-env: &shared-api-worker-env OCEANBASE_CLUSTER_NAME: ${OCEANBASE_CLUSTER_NAME:-difyai} OCEANBASE_MEMORY_LIMIT: ${OCEANBASE_MEMORY_LIMIT:-6G} CREATE_TIDB_SERVICE_JOB_ENABLED: ${CREATE_TIDB_SERVICE_JOB_ENABLED:-false} + MAX_SUBMIT_COUNT: ${MAX_SUBMIT_COUNT:-100} RETRIEVAL_TOP_N: ${RETRIEVAL_TOP_N:-0} HTTP_PROXY: ${HTTP_PROXY:-} HTTPS_PROXY: ${HTTPS_PROXY:-}