You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the heroku integration docs does not show how to setup cluster mode for heroku.
How is cluster mode for heroku different?
If we specify instances: "max" in our ecosystem.config.js file, 8 different instances of process would be deployed. But these 8 CPUs as detected by PM2 are shared and the deployment will fail. The better option is to use instances: process.env.WEB_CONCURRENCY || "max".
The text was updated successfully, but these errors were encountered:
Currently the heroku integration docs does not show how to setup cluster mode for heroku.
How is cluster mode for heroku different?
If we specify
instances: "max"
in ourecosystem.config.js
file, 8 different instances of process would be deployed. But these 8 CPUs as detected by PM2 are shared and the deployment will fail. The better option is to useinstances: process.env.WEB_CONCURRENCY || "max"
.The text was updated successfully, but these errors were encountered: