Increase time for DB connect in production
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user