From b889eee7ff472333a21da891621d16e4333e1ea1 Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 27 Oct 2024 14:03:41 +0000 Subject: [PATCH] change connection idle timeout --- projects/backend/src/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/backend/src/index.ts b/projects/backend/src/index.ts index 6aa92f0..66e9659 100644 --- a/projects/backend/src/index.ts +++ b/projects/backend/src/index.ts @@ -172,4 +172,7 @@ app.onStart(async () => { } }); -app.listen(8080); +app.listen({ + port: 8080, + idleTimeout: 120, // 2 minutes +});