Open Hughendman opened 6 years ago
https://hughendman.github.io/post/1efd976a.html#more
启动四个进程:pm2 start server.js -i 4
把名字叫api的应用扩展到10个实例: pm2 scale api 10
https://hughendman.github.io/post/1efd976a.html#more