Increase grace period for server shutdown

This commit is contained in:
MICHAEL JACKSON 2017-08-17 11:56:57 -07:00
parent 504c55a636
commit d63288fb27
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ const port = parseInt(process.env.PORT, 10) || 5000
throng({
workers: process.env.WEB_CONCURRENCY || 1,
lifetime: Infinity,
grace: 25000,
start: function (id) {
const server = createServer()