zhangweicheng 20 часов назад
Родитель
Сommit
8464e7c93e
3 измененных файлов с 7 добавлено и 8 удалено
  1. 5 6
      config/config.js
  2. 1 1
      pm2_import.json
  3. 1 1
      pm2_server.json

+ 5 - 6
config/config.js

@@ -14,12 +14,12 @@ module.exports = {
     server: "localhost",
     port: "27017",
   },
-   qa: {
-    server: "192.168.1.60",
-    port: "27017",
+  qa: {
+    server: "192.168.1.90",
+    port: "60666",
     options: {
       user: "smartcost",
-      pass: "SmartCost3850888",
+      pass: "smartcost3850888",
       auth: {
         authdb: "admin",
       },
@@ -27,8 +27,7 @@ module.exports = {
       useMongoClient: true,
     },
     importURL: "192.168.1.90:2050",
-  },  
-
+  },
 
   qa_outer: {
     server: "smartcost.in.8866.org",

+ 1 - 1
pm2_import.json

@@ -7,7 +7,7 @@
     "log_date_format": "YYYY-MM-DD HH:mm Z",
     "exec_mode": "cluster_mode",
     "node_args": "--max-old-space-size=4096",
-    "instances": 3,
+    "instances": 1,
     "merge_logs": true
   }
 }

+ 1 - 1
pm2_server.json

@@ -4,6 +4,6 @@
     "script": "server.js",
     "node_args": "--max-old-space-size=4096",
     "exec_mode": "cluster_mode",
-    "instances": 3
+    "instances": 1
   }
 }