优化内存

This commit is contained in:
ChenYi 2025-08-27 14:58:53 +08:00
parent ff4539433f
commit 94ef930aa2
3 changed files with 11 additions and 1 deletions

View File

@ -268,6 +268,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JiShe.ServicePro.PulsarProv
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JiShe.ServicePro.ModelBinder.Provider", "JiShe.ServicePro\frameworks\src\JiShe.ServicePro.ModelBinder.Provider\JiShe.ServicePro.ModelBinder.Provider.csproj", "{6A26D2DE-215B-CB11-F882-3984B2EE7AA6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JiShe.ServicePro.DistributedMessageCenter", "JiShe.ServicePro\frameworks\src\JiShe.ServicePro.DistributedMessageCenter\JiShe.ServicePro.DistributedMessageCenter.csproj", "{C51F35A8-5BF8-8E2F-96B2-B62E3BCF8273}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -726,6 +728,10 @@ Global
{6A26D2DE-215B-CB11-F882-3984B2EE7AA6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6A26D2DE-215B-CB11-F882-3984B2EE7AA6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6A26D2DE-215B-CB11-F882-3984B2EE7AA6}.Release|Any CPU.Build.0 = Release|Any CPU
{C51F35A8-5BF8-8E2F-96B2-B62E3BCF8273}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C51F35A8-5BF8-8E2F-96B2-B62E3BCF8273}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C51F35A8-5BF8-8E2F-96B2-B62E3BCF8273}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C51F35A8-5BF8-8E2F-96B2-B62E3BCF8273}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@ -853,6 +859,7 @@ Global
{2115F8BF-63C3-957E-6F75-6AEB5D1DA649} = {72493AF2-CDAA-40A7-98AB-B8AA2B05965E}
{12DCB751-4433-B3F1-67D3-0F15E3E2BC8B} = {72493AF2-CDAA-40A7-98AB-B8AA2B05965E}
{6A26D2DE-215B-CB11-F882-3984B2EE7AA6} = {72493AF2-CDAA-40A7-98AB-B8AA2B05965E}
{C51F35A8-5BF8-8E2F-96B2-B62E3BCF8273} = {72493AF2-CDAA-40A7-98AB-B8AA2B05965E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {28315BFD-90E7-4E14-A2EA-F3D23AF4126F}

View File

@ -56,6 +56,9 @@ namespace JiShe.IoT
{
configuration.GetSection(nameof(DataChannelOptions)).Bind(options);
});
// 注册 内存管理协调器
context.Services.AddSingleton<UnifiedMemoryCoordinator>();
}
public override void OnApplicationInitialization(ApplicationInitializationContext context)

View File

@ -38,7 +38,7 @@
"TenantName": "1YMVZZkAkRArjxSD8457",
"Namespace": "OneNET",
"PulsarSecretKey": "0fd7afb8b0d04e6abc4fdfdac2190a79",
"PulsarSubscriptionCustomName": "sub",
"PulsarSubscriptionCustomName": "sub3",
"EnableTls": false,
"ValidateServerCertificate": false,
"ConnectionTimeout": 30,