Spaces:
Configuration error
Configuration error
Michele Dolfi
commited on
fix: UVICORN_WORKERS propagation in start_server (#40)
Browse filesSigned-off-by: Michele Dolfi <[email protected]>
- start_server.sh +1 -1
start_server.sh
CHANGED
@@ -6,7 +6,7 @@ export PORT="${PORT:-5001}"
|
|
6 |
export HOST="${HOST:-"0.0.0.0"}"
|
7 |
|
8 |
# Performance settings
|
9 |
-
UVICORN_WORKERS="${
|
10 |
|
11 |
# Development settings
|
12 |
export WITH_UI="${WITH_UI:-"true"}"
|
|
|
6 |
export HOST="${HOST:-"0.0.0.0"}"
|
7 |
|
8 |
# Performance settings
|
9 |
+
UVICORN_WORKERS="${UVICORN_WORKERS:-1}"
|
10 |
|
11 |
# Development settings
|
12 |
export WITH_UI="${WITH_UI:-"true"}"
|