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 adce080 commit 1d3d0c9Copy full SHA for 1d3d0c9
1 file changed
api/run.sh
@@ -127,6 +127,10 @@ fi
127
# Temporary: Turn off python buffering or debug output made by print() may not show up in logs
128
export PYTHONUNBUFFERED=1
129
130
+# Print the Python traceback of the crashing thread if the interpreter dies on a
131
+# fatal signal (e.g. segfault), so crashes are diagnosable from the service logs
132
+export PYTHONFAULTHANDLER=1
133
+
134
UVICORN_WORKERS=${TFL_UVICORN_WORKERS:-1}
135
136
echo "▶️ Running one-time startup tasks before workers"
0 commit comments