Skip to content

Commit e3ab2ea

Browse files
committed
Configure server timeouts
1 parent 286361a commit e3ab2ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/start-up.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function start_jupyter_server() {
2626
sudo echo "${response}" | sudo tee /root/.jupyter/.session_info >/dev/null
2727

2828
cd /root/.server/
29-
/root/.server/.venv/bin/uvicorn main:app --host 0.0.0.0 --port 49999 --workers 1 --no-access-log --no-use-colors
29+
/root/.server/.venv/bin/uvicorn main:app --host 0.0.0.0 --port 49999 --workers 1 --no-access-log --no-use-colors --timeout-keep-alive 640 --timeout 84600
3030
}
3131

3232
echo "Starting Code Interpreter server..."

0 commit comments

Comments
 (0)