From 877c69255be4264d127cd5d51707126db4532c02 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Sat, 6 Feb 2016 22:58:41 -0800 Subject: [PATCH] Increase time for DB connect in production --- server/production-start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/production-start.js b/server/production-start.js index ad01710561..53266e0747 100644 --- a/server/production-start.js +++ b/server/production-start.js @@ -26,6 +26,6 @@ var timeoutHandler = setTimeout(function() { // purposely shutdown server // pm2 should restart this in production throw new Error(message); -}, 5000); +}, 15000); app.dataSources.db.on('connected', onConnect);