mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-23 20:13:20 +00:00
Enable keep-alive for front service (#6078)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
f11bc4c89d
commit
7fb8737959
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user