zhangweicheng %!s(int64=5) %!d(string=hai) anos
pai
achega
df92feaa60
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      pm2.json

+ 3 - 1
pm2.json

@@ -1,9 +1,11 @@
 {
   "apps": {
       "name": "constructioncost",
-      "script": "server.js",
+      "script": "--max-old-space-size=2048 server.js",
       "output": "/home/logs/out.log",
       "error": "/home/logs/out.log",
+      "exec_mode": "cluster_mode",                
+      "instances": 3, 
       "merge_logs": true
     }
 }