From 788b396e8c368aeafa99e288747271ffeb7551a2 Mon Sep 17 00:00:00 2001 From: cubedro Date: Tue, 28 Apr 2015 17:59:36 +0300 Subject: [PATCH] increased sigterm delay --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 4ba5068..fe1ca84 100644 --- a/app.js +++ b/app.js @@ -15,8 +15,8 @@ var gracefulShutdown = function() { setTimeout(function(){ console.info("Closed out remaining connections."); - process.exit(0) - }, 2*1000); + process.exit(0); + }, 5*1000); } // listen for TERM signal .e.g. kill