lith 3 年之前
父节点
当前提交
21d2ed118c

+ 3 - 3
Publish/ReleaseFile/StressTest/分布式压测/Demo/appsettings.json

@@ -83,11 +83,11 @@
           /* 接收缓存区大小(单位:byte,默认:8192)  */
           /* 接收缓存区大小(单位:byte,默认:8192)  */
           //"receiveBufferSize": 8192,
           //"receiveBufferSize": 8192,
 
 
-          /* 发送缓冲区刷新间隔(单位:毫秒,默认:1)(仅当mode为Timer和SpinWait时有效)  */
+          /* 发送缓冲区刷新间隔(单位:毫秒,默认:1)(仅当mode为Timer和ThreadWait时有效)  */
           //"sendFlushInterval": 1,
           //"sendFlushInterval": 1,
-          /* 发送缓冲区数据块的最小大小(单位:byte,默认 1000000)(仅当mode为Timer和SpinWait时有效)  */
+          /* 发送缓冲区数据块的最小大小(单位:byte,默认 1000000)(仅当mode为Timer和ThreadWait时有效)  */
           //"sendBufferSize": 1000000,
           //"sendBufferSize": 1000000,
-          /* 发送缓冲区个数(默认1024)(仅当mode为Timer和SpinWait时有效)    */
+          /* 发送缓冲区个数(默认1024)(仅当mode为Timer和ThreadWait时有效)    */
           //"sendBufferCount": 1024,
           //"sendBufferCount": 1024,
 
 
 
 

+ 0 - 3
dotnet/Library/Sers/Sers.Core/Sers.Core/CL/CommunicationManage/CommunicationManageClient.DefaultClientConfig.cs

@@ -13,9 +13,6 @@
         /* the class of builder in assemblyFile  */
         /* the class of builder in assemblyFile  */
         ""className"": ""Sers.CL.Socket.Iocp.OrganizeClientBuilder"",
         ""className"": ""Sers.CL.Socket.Iocp.OrganizeClientBuilder"",
 
 
-        /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
-        //""mode"": ""ThreadWait"",
-
         /* (x.2) conn config */
         /* (x.2) conn config */
         /* 服务端 host地址。例如: ""127.0.0.1""、""sers.cloud"" */
         /* 服务端 host地址。例如: ""127.0.0.1""、""sers.cloud"" */
         ""host"": ""127.0.0.1"",
         ""host"": ""127.0.0.1"",

+ 1 - 1
dotnet/Library/Sers/Sers.Core/Sers.Core/CL/MessageOrganize/DefaultOrganize/RequestAdaptor.cs

@@ -175,7 +175,7 @@ namespace Sers.Core.CL.MessageOrganize.DefaultOrganize
         /// <summary>
         /// <summary>
         /// 请求超时时间(单位ms,默认300000)
         /// 请求超时时间(单位ms,默认300000)
         /// </summary>
         /// </summary>
-        public int requestTimeoutMs;
+        public int requestTimeoutMs = 300000;
 
 
 
 
 
 

+ 12 - 20
dotnet/ServiceStation/Demo/SersLoader/Did.SersLoader.HelloWorld/Did.SersLoader.HelloWorld.csproj

@@ -1,27 +1,19 @@
 <Project Sdk="Microsoft.NET.Sdk">
 <Project Sdk="Microsoft.NET.Sdk">
 
 
-  <PropertyGroup>
-    <OutputType>Exe</OutputType>
-    <TargetFramework>netcoreapp2.1</TargetFramework>
-    <Version>2.1.10-temp</Version>
-    <Description>https://github.com/serset/Sers</Description>
-  </PropertyGroup>
+	<PropertyGroup>
+		<OutputType>Exe</OutputType>
+		<TargetFramework>netcoreapp2.1</TargetFramework>
+		<Version>2.1.10-temp</Version>
+		<Description>https://github.com/serset/Sers</Description>
+	</PropertyGroup>
 
 
-  <PropertyGroup>
-    <DocumentationFile>bin\Debug\netcoreapp2.1\Did.SersLoader.HelloWorld.xml</DocumentationFile>   
-  </PropertyGroup>
+	<PropertyGroup>
+		<DocumentationFile>bin\Debug\netcoreapp2.1\Did.SersLoader.HelloWorld.xml</DocumentationFile>
+	</PropertyGroup>
 
 
- 
-  
-  <ItemGroup>
-    <Content Include="appsettings.json">
-      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
-    </Content>
-  </ItemGroup>
 
 
-
-  <ItemGroup>
-    <ProjectReference Include="..\..\..\..\Library\Sers\Sers.ServiceStation\Sers.ServiceStation\Sers.ServiceStation.csproj" />
-  </ItemGroup>
+	<ItemGroup>
+		<ProjectReference Include="..\..\..\..\Library\Sers\Sers.ServiceStation\Sers.ServiceStation\Sers.ServiceStation.csproj" />
+	</ItemGroup>
 
 
 </Project>
 </Project>

+ 0 - 2
dotnet/ServiceStation/Demo/SersLoader/Did.SersLoader.HelloWorld/appsettings.json

@@ -1,2 +0,0 @@
-{ 
-}