pm2-hive.github.io
pm2-hive.github.io copied to clipboard
CheatSheet in quick-start seems to indicate that "max" argument for cluster mode is deprecated?
In the CheatSheet at the end of the quick start page the section on clustering show:
# Cluster mode
pm2 start app.js -i 0 # Will start maximum processes with LB depending on available CPUs
pm2 start app.js -i max # Same as above, but deprecated.
This says that the max argument is deprecated, yet the example in the cluster mode section shows using the max argument. Also the cluster mode page shows using max and makes no mention of this argument being deprecated.
So is max
really deprecated or is that comment a mistake?