Merge branch 'dev' of https://310.jisheyun.com/daizan/JiShe.CollectBus into dev
This commit is contained in:
commit
c999b0a0a9
@ -88,7 +88,7 @@ namespace JiShe.CollectBus.IoTDB.Provider
|
|||||||
_logger.LogError($"{nameof(InsertAsync)} IoTDB插入{typeof(T).Name}的数据时 tablet 为null");
|
_logger.LogError($"{nameof(InsertAsync)} IoTDB插入{typeof(T).Name}的数据时 tablet 为null");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_logger.LogError($"{nameof(InsertAsync)} IoTDB插入{typeof(T).Name}的数据时 路径为 {tablet.First().InsertTargetName}");
|
_logger.LogWarning($"{nameof(InsertAsync)} IoTDB插入{typeof(T).Name}的数据时 路径为 {tablet.First().InsertTargetName}");
|
||||||
|
|
||||||
await CurrentSession.InsertAsync(tablet.First());
|
await CurrentSession.InsertAsync(tablet.First());
|
||||||
}
|
}
|
||||||
@ -129,7 +129,7 @@ namespace JiShe.CollectBus.IoTDB.Provider
|
|||||||
|
|
||||||
foreach (var item in tablet)
|
foreach (var item in tablet)
|
||||||
{
|
{
|
||||||
_logger.LogError($"{nameof(InsertAsync)} IoTDB插入{typeof(T).Name}的数据时 路径为 {item.InsertTargetName}");
|
_logger.LogWarning($"{nameof(InsertAsync)} IoTDB插入{typeof(T).Name}的数据时 路径为 {item.InsertTargetName}");
|
||||||
|
|
||||||
await CurrentSession.InsertAsync(item);
|
await CurrentSession.InsertAsync(item);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,9 +23,9 @@
|
|||||||
},
|
},
|
||||||
"IoTDBOptions": {
|
"IoTDBOptions": {
|
||||||
"UserName": "root",
|
"UserName": "root",
|
||||||
//"Password": "Yp2eU6MVdIjXCL",
|
|
||||||
//"ClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
|
|
||||||
"Password": "root",
|
"Password": "root",
|
||||||
|
//"ClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
|
||||||
|
//"Password": "root",
|
||||||
"ClusterList": [ "121.42.175.177:16667" ],
|
"ClusterList": [ "121.42.175.177:16667" ],
|
||||||
"PoolSize": 2,
|
"PoolSize": 2,
|
||||||
"DataBaseName": "energy",
|
"DataBaseName": "energy",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user