Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Disable python api server timeout

Tomas Valenta1615b8dfac02
diff --git a/package.json b/package.json
index dc9797179..3f9cec886 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
"dev": "npx concurrently -p none \"next dev\" \"yarn start:api\" \"yarn start:playground\"",
"dev:api-service": "npx concurrently \"yarn start:api\" \"yarn start:playground\"",
"build": "next build",
- "start:api": "cd api-service && PYTHONUNBUFFERED=1 poetry run gunicorn app:app --bind 0.0.0.0:5000 -k uvicorn.workers.UvicornWorker --reload",
+ "start:api": "cd api-service && PYTHONUNBUFFERED=1 poetry run gunicorn app:app --bind 0.0.0.0:5000 -k uvicorn.workers.UvicornWorker --reload --timeout 0",
"start:playground": "cd api-service/playground && yarn dev",
"install:api-service": "cd api-service && poetry install && cd playground && yarn",
"start": "next start",