Skip to content

Commit

Permalink
reduce cpu number to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
keldaan-ag committed May 13, 2024
1 parent a51a2fd commit fdd8ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
apps: [{
name : "colyseus",
script : "./app/public/dist/server/app/index.js", // your entrypoint file
instances : os.cpus().length,
instances : 1,
exec_mode : "fork", // IMPORTANT: do not use cluster mode.
watch : false,
time : true,
Expand Down

0 comments on commit fdd8ac5

Please sign in to comment.