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