Enable keep-alive for front service (#6078)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2024-07-16 16:39:17 +07:00 committed by GitHub
parent f11bc4c89d
commit 7fb8737959
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -723,6 +723,9 @@ export function start (
}) })
const server = app.listen(port) const server = app.listen(port)
server.keepAliveTimeout = 60 * 1000 + 1000
server.headersTimeout = 60 * 1000 + 2000
return () => { return () => {
server.close() server.close()
} }