fix cluster mode
This commit is contained in:
+3
-3
@@ -11,9 +11,9 @@ module.exports = {
|
|||||||
name: "setrip",
|
name: "setrip",
|
||||||
cwd: __dirname,
|
cwd: __dirname,
|
||||||
script: "node_modules/next/dist/bin/next",
|
script: "node_modules/next/dist/bin/next",
|
||||||
args: "start",
|
args: "start -p 3090",
|
||||||
instances: 1,
|
instances: "max",
|
||||||
exec_mode: "fork",
|
exec_mode: "cluster",
|
||||||
autorestart: true,
|
autorestart: true,
|
||||||
watch: false,
|
watch: false,
|
||||||
max_memory_restart: "512M",
|
max_memory_restart: "512M",
|
||||||
|
|||||||
Reference in New Issue
Block a user