Increase time for DB connect in production

This commit is contained in:
Berkeley Martinez
2016-02-06 22:58:41 -08:00
parent 1d624e4ed0
commit 877c69255b

View File

@ -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);