diff --git a/backend/main.py b/backend/main.py index f5f2c57f0..c3fa83b06 100644 --- a/backend/main.py +++ b/backend/main.py @@ -53,7 +53,7 @@ memory=(512, 1024), cpu=2, allow_concurrent_inputs=10, - timeout=60 * 19, + timeout=60 * 10, ) @asgi_app() def api(): diff --git a/backend/routers/transcribe.py b/backend/routers/transcribe.py index 26a9267f3..b001bcf58 100644 --- a/backend/routers/transcribe.py +++ b/backend/routers/transcribe.py @@ -132,7 +132,7 @@ async def _websocket_util( loop = asyncio.get_event_loop() # Soft timeout, should < MODAL_TIME_OUT - 3m - timeout_seconds = 1800 # 30m + timeout_seconds = 420 # 7m started_at = time.time() def stream_transcript(segments, stream_id):