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.
1 parent de92930 commit eb7ceb4Copy full SHA for eb7ceb4
scripts/startup_app.sh
@@ -77,10 +77,15 @@ source scripts/load_nvm.sh > /dev/null
77
# start Python backend
78
cd llm-service
79
mkdir -p $MLFLOW_RECONCILER_DATA_PATH
80
-uv run fastapi run --reload --host 127.0.0.1 --port 8081 2>&1 &
81
+uv run fastapi run --host 127.0.0.1 --port 8081 2>&1 &
82
+PY_BACKGROUND_PID=$!
83
# wait for the python backend to be ready
84
while ! curl --output /dev/null --silent --fail http://localhost:8081/amp; do
85
+ if ! kill -0 "$PY_BACKGROUND_PID" 2>/dev/null; then
86
+ echo "Python backend process exited unexpectedly."
87
+ exit 1
88
+ fi
89
echo "Waiting for the Python backend to be ready..."
90
sleep 4
91
done
0 commit comments