Server timeout is 10s

This commit is contained in:
Michael Jackson 2018-07-15 21:13:56 -07:00
parent 6075deb73f
commit c5156be276
1 changed files with 3 additions and 1 deletions

View File

@ -34,11 +34,13 @@ function startServer(id) {
config.port
);
});
server.timeout = 10000;
}
throng({
workers: process.env.WEB_CONCURRENCY || 1,
lifetime: Infinity,
grace: 5000,
grace: 11000,
start: startServer
});