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.
Comments
Post a Comment