From 7fb8737959c668f752b00c1c8778b33970211014 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Tue, 16 Jul 2024 16:39:17 +0700 Subject: [PATCH] Enable keep-alive for front service (#6078) Signed-off-by: Andrey Sobolev --- server/front/src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/front/src/index.ts b/server/front/src/index.ts index 3a36e6a2a8..40c83224ea 100644 --- a/server/front/src/index.ts +++ b/server/front/src/index.ts @@ -723,6 +723,9 @@ export function start ( }) const server = app.listen(port) + + server.keepAliveTimeout = 60 * 1000 + 1000 + server.headersTimeout = 60 * 1000 + 2000 return () => { server.close() }