diff --git a/database/pm2.config.js b/database/pm2.config.js index 3dbf2ef..f7e9604 100644 --- a/database/pm2.config.js +++ b/database/pm2.config.js @@ -5,6 +5,8 @@ module.exports = { script: './server.js', cwd: __dirname, watch: false, + restart_delay: 5000, + max_restarts: 10, env: { NODE_ENV: 'production', PORT: 5000,