From bcb17acaf7b9f0bf8138cd997654b6f9041aad60 Mon Sep 17 00:00:00 2001 From: yiling Date: Sat, 11 Jul 2026 21:11:18 +0800 Subject: [PATCH] chore(serve): set idleTimeout to 120 seconds in Bun.serve --- apps/web/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/index.ts b/apps/web/src/index.ts index 347e51ca..61db4669 100644 --- a/apps/web/src/index.ts +++ b/apps/web/src/index.ts @@ -114,6 +114,7 @@ async function run() { const server = Bun.serve({ port, + idleTimeout: 120, maxRequestBodySize: process.env.MAX_REQUEST_BODY_SIZE ? parseInt(process.env.MAX_REQUEST_BODY_SIZE) : 1024 * 1024 * 1024 * 10, // Default 10GB