We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9901e3d + b4ba26b commit b955a8fCopy full SHA for b955a8f
start.sh
@@ -4,6 +4,8 @@ HOST="${HOST:-0.0.0.0}"
4
# Default value for PIPELINES_DIR
5
PIPELINES_DIR=${PIPELINES_DIR:-./pipelines}
6
7
+UVICORN_LOOP="${UVICORN_LOOP:-auto}"
8
+
9
# Function to reset pipelines
10
reset_pipelines_dir() {
11
if [ "$RESET_PIPELINES_DIR" = true ]; then
@@ -150,6 +152,6 @@ fi
150
152
151
153
if [[ "$MODE" == "run" || "$MODE" == "full" ]]; then
154
echo "Running via Mode: $MODE"
- uvicorn main:app --host "$HOST" --port "$PORT" --forwarded-allow-ips '*'
155
+ uvicorn main:app --host "$HOST" --port "$PORT" --forwarded-allow-ips '*' --loop "$UVICORN_LOOP"
156
fi
157
0 commit comments