From f274973b46ecc9eccfcaad83e95c4d040785f994 Mon Sep 17 00:00:00 2001 From: ChenYi <296215406@outlook.com> Date: Mon, 14 Jul 2025 17:28:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=9C=AC=E5=9C=B0=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../appsettings.Development.json | 14 +++++++------- src/JiShe.IoT.DbMigrator/appsettings.json | 6 ++++-- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json b/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json index c879aea..fa92a84 100644 --- a/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json +++ b/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json @@ -14,28 +14,28 @@ }, "Hangfire": { "Redis": { - "Host": "47.110.53.196:6379,password=1q3J@BGf!yhTaD46nS#", + "Host": "192.168.111.37:6379,password=1q3J@BGf!yhTaD46nS#", "DB": "2" } }, "Redis": { - "Configuration": "47.110.53.196:6379,password=1q3J@BGf!yhTaD46nS#,defaultdatabase=5" + "Configuration": "192.168.111.37:6379,password=1q3J@BGf!yhTaD46nS#,defaultdatabase=5" }, "Kafka": { - "BootstrapServers": "47.110.62.104:9094,47.110.53.196:9094,47.110.60.222:9094", + "BootstrapServers": "192.168.111.37:9094", "EnableFilter": true, "EnableAuthorization": false, "SaslUserName": "lixiao", "SaslPassword": "lixiao@1980", - "KafkaReplicationFactor": 3, + "KafkaReplicationFactor": 1, "NumPartitions": 30, "TaskThreadCount": -1 }, "IoTDBOptions": { "UserName": "root", "Password": "Lixiao@1980", - "TreeModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ], - "TableModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ], + "TreeModelClusterList": [ "192.168.111.37:6667" ], + "TableModelClusterList": [ "192.168.111.37:6667" ], "PoolSize": 32, "TableModelDataBaseName": "energy", "OpenDebugMode": true, @@ -67,7 +67,7 @@ } }, "FreeRedisOptions": { - "ConnectionString": "47.110.53.196:6379,password=1q3J@BGf!yhTaD46nS#,abortConnect=false,connectTimeout=30000,allowAdmin=true,maxPoolSize=500,defaultdatabase=14", + "ConnectionString": "192.168.111.37:6379,password=1q3J@BGf!yhTaD46nS#,abortConnect=false,connectTimeout=30000,allowAdmin=true,maxPoolSize=500,defaultdatabase=14", "UseDistributedCache": true }, "FreeSqlProviderOptions": { diff --git a/src/JiShe.IoT.DbMigrator/appsettings.json b/src/JiShe.IoT.DbMigrator/appsettings.json index 4bb2c18..31b801d 100644 --- a/src/JiShe.IoT.DbMigrator/appsettings.json +++ b/src/JiShe.IoT.DbMigrator/appsettings.json @@ -5,8 +5,10 @@ "IoTDBOptions": { "UserName": "root", "Password": "Lixiao@1980", - "TreeModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ], - "TableModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ], + //"TreeModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ], + //"TableModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ], + "TreeModelClusterList": [ "192.168.111.37:6667" ], + "TableModelClusterList": [ "192.168.111.37:6667" ], "PoolSize": 32, "TableModelDataBaseName": "energy", "OpenDebugMode": true,