fix: don't set web concurrency by default

add-more-languages
Meng Zhang 2023-04-05 22:20:07 +08:00
parent db77d7f267
commit 7f5189210a
1 changed files with 0 additions and 4 deletions

View File

@ -9,10 +9,6 @@ export CONFIG_FILE=${CONFIG_FILE:-/data/config/tabby.toml}
# server
export MODEL_NAME="${MODEL_NAME:-TabbyML/J-350M}"
export MODEL_BACKEND="${MODEL_BACKEND:-python}"
if [ ! -n "$WEB_CONCURRENCY" ]; then
# Set WEB_CONCURRENCY for uvicorn workers.
export WEB_CONCURRENCY=$(nproc --all)
fi
# projects
export GIT_REPOSITORIES_DIR="${REPOSITORIES_DIR:-/data/repositories}"