lichunlei il y a 5 mois
Parent
commit
be8a055bad
2 fichiers modifiés avec 16 ajouts et 13 suppressions
  1. 1 1
      appsettings.Development.json
  2. 15 12
      appsettings.json

+ 1 - 1
appsettings.Development.json

@@ -19,7 +19,7 @@
     "ServiceName": "omega_make",
     "GroupName": "DEFAULT",
     "Ip": "",
-    "Port": "8006",
+    "Port": "8007",
     "EndPoint": "",
     "ConfigUseRpc": true,
     "NamingUseRpc": true,

+ 15 - 12
appsettings.json

@@ -1,8 +1,8 @@
 {
   "Logging": {
     "LogLevel": {
-      "Default": "Information",
-      "Microsoft.AspNetCore": "Warning"
+      "Yarp.ReverseProxy": "Trace",
+      "Microsoft.AspNetCore.Routing": "Trace"
     }
   },
   "AllowedHosts": "*",
@@ -10,22 +10,25 @@
     "Listeners": [
       {
         "Optional": false,
-        "DataId": "",
+        "DataId": "omega",
         "Group": "DEFAULT_GROUP"
       }
     ],
-    "Namespace": "",
-    "ServerAddresses": [ "http://nut.yunmuit.com/" ],
+    "Namespace": "7e41669f-6054-45f5-b038-f7bb07410807",
+    "ServerAddresses": [ "https://nacos-test.kexiaoshuang.com/" ],
     "ServiceName": "omega_make",
     "GroupName": "DEFAULT_GROUP",
-    "UserName": "nacos",
-    "Password": "nacos",
+    "Ip": "",
+    "Port": "8007",
     "EndPoint": "",
-    "Ip": "localhost",
-    "Port": "8006",
-    "ConfigUseRpc": false,
-    "NamingUseRpc": false,
+    "ConfigUseRpc": true,
+    "NamingUseRpc": true,
     "RegisterEnabled": true,
-    "InstanceEnabled": true
+    "InstanceEnabled": true,
+    "DefaultTimeOut": 30000,
+    "Metadata": {
+      "preserved.heart.beat.interval": 30000,
+      "preserved.heart.beat.timeout": 60000
+    }
   }
 }