javascript - PM2 change cluster processes size at runtime -


does know if possible change in nodejs pm2 number of cluster processes application @ runtime?

regards philipp

you can use pm2 scale scale vertically number of process @ runtime, note work cluster mode. example :

  • pm2 scale appname 2 add 2 process.
  • pm2 scale appname -1 remove 1 process.

source link


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -