From c5156be276a1a08d8dccc712988220d3f4e8fbda Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Sun, 15 Jul 2018 21:13:56 -0700 Subject: [PATCH] Server timeout is 10s --- server.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index 15092f8..a22c19a 100644 --- a/server.js +++ b/server.js @@ -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 });