Force shutdown of workers after 5s

This commit is contained in:
Michael Jackson 2018-07-15 09:17:46 -07:00
parent 5f0fa21063
commit d1a6db5747
1 changed files with 1 additions and 1 deletions

View File

@ -39,6 +39,6 @@ function startServer(id) {
throng({
workers: process.env.WEB_CONCURRENCY || 1,
lifetime: Infinity,
grace: 25000,
grace: 5000,
start: startServer
});