Renamed UV_LOOP to UVICORN_LOOP

This commit is contained in:
Samuel Bortolin 2025-04-14 18:23:44 +02:00
parent afa5d5e1f0
commit b4ba26bdaa

View File

@ -4,7 +4,7 @@ HOST="${HOST:-0.0.0.0}"
# Default value for PIPELINES_DIR
PIPELINES_DIR=${PIPELINES_DIR:-./pipelines}
UV_LOOP="${UV_LOOP:-auto}"
UVICORN_LOOP="${UVICORN_LOOP:-auto}"
# Function to reset pipelines
reset_pipelines_dir() {
@ -152,6 +152,6 @@ fi
if [[ "$MODE" == "run" || "$MODE" == "full" ]]; then
echo "Running via Mode: $MODE"
uvicorn main:app --host "$HOST" --port "$PORT" --forwarded-allow-ips '*' --loop "$UV_LOOP"
uvicorn main:app --host "$HOST" --port "$PORT" --forwarded-allow-ips '*' --loop "$UVICORN_LOOP"
fi