Эх сурвалжийг харах

[tag] ServiceAdaptor 1.3.9

lith 3 жил өмнө
parent
commit
eb65a9be87

+ 1 - 1
02.Gateway/ServiceAdaptor.NetCore.Gateway/ServiceAdaptor.NetCore.Gateway.csproj

@@ -7,7 +7,7 @@
 
 	<PropertyGroup>
 		<TargetFramework>netcoreapp2.1</TargetFramework>
-		<Version>1.3.8</Version>
+		<Version>1.3.9</Version>
 	</PropertyGroup>
 
 	<PropertyGroup>

+ 4 - 2
02.Gateway/ServiceAdaptor.NetCore.Gateway/appsettings.json

@@ -171,8 +171,10 @@
       /* 是否 输出本地Api的调用信息到(ApiTrace)Log文件。默认:false */
       //"PrintTrace": true,
 
-      /* 后台服务的线程个数(单位个,默认0,代表不开启服务) */
-      "workThreadCount": 16
+      "workThread": {
+        /* 后台处理消息的线程个数(单位个,默认16)(0代表不开启服务) */
+        "threadCount": 16
+      }
     },
 
     /* ServiceStation配置,可不指定 */

+ 5 - 13
11.ServiceProvider/ServiceProvider/appsettings.json

@@ -125,17 +125,14 @@
     /* LocalApiService 配置,可不指定 */
     "LocalApiService": {
 
-      /* 后台服务的线程个数(单位个,默认0,代表不开启服务) */
-      "workThreadCount": 16,
-
-
-      /* 超时时间,若不指定则后台任务永不超时。(主动关闭超过此时间的任务,实际任务强制关闭的时间会在1倍超时时间到2倍超时时间内)。单位:ms。*/
-      "//timeout_ms": 300000,
-
-
       /* 是否 输出本地Api的调用信息到(ApiTrace)Log文件。默认:false */
       "//PrintTrace": true,
 
+      "workThread": {
+        /* 后台处理消息的线程个数(单位个,默认16)(0代表不开启服务) */
+        "threadCount": 16
+      },
+
 
       /* 默认站点名称,可多个,可不指定 */
       "//apiStationNames": [ "demo" ]
@@ -153,11 +150,6 @@
 
   "serslot": {
 
-    /* 处理请求转发的模式,可不指定。可为 Async(默认)、BackgroundTask */
-    /* Async 异步转发请求,没有线程数量限制。此模式下extApi的reply无效。 */
-    /* BackgroundTask 启动固定数量的线程转发请求,线程数量为Sers.LocalApiService.workThreadCount。 */
-    "Mode": "BackgroundTask",
-
     /* 额外api。SsApiDesc格式。除了系统api外,可以指定额外api。若指定返回数据(reply),则直接返回数据;若不指定返回数据,则由host进行处理 */
     "//extApi": [
       {

+ 1 - 1
Library/ServiceAdaptor.NetCore.Be.Eureka/ServiceAdaptor.NetCore.Be.Eureka.csproj

@@ -2,7 +2,7 @@
 
   <PropertyGroup>
     <TargetFramework>netcoreapp2.1</TargetFramework>
-    <Version>1.3.8</Version>
+    <Version>1.3.9</Version>
     <PackageProjectUrl>https://github.com/serset/ServiceAdaptor.NetCore</PackageProjectUrl>
   </PropertyGroup>
 

+ 2 - 2
Library/ServiceAdaptor.NetCore.Consul/ServiceAdaptor.NetCore.Consul.csproj

@@ -6,7 +6,7 @@
 
 	<PropertyGroup>
 		<TargetFramework>netstandard2.0</TargetFramework>
-		<Version>1.3.8</Version>
+		<Version>1.3.9</Version>
 	</PropertyGroup>
 
 	<PropertyGroup>
@@ -21,7 +21,7 @@
 
 	<ItemGroup>
 		<PackageReference Include="Consul" Version="0.7.2.6" />
-		<PackageReference Include="Vit.WebHost" Version="2.1.8" />
+		<PackageReference Include="Vit.WebHost" Version="2.1.9" />
 	</ItemGroup>
 
 

+ 1 - 1
Library/ServiceAdaptor.NetCore.MinHttp/ServiceAdaptor.NetCore.MinHttp.csproj

@@ -6,7 +6,7 @@
 
 	<PropertyGroup>
 		<TargetFramework>netstandard2.0</TargetFramework>
-		<Version>1.3.8</Version>
+		<Version>1.3.9</Version>
 	</PropertyGroup>
 
 	<PropertyGroup>

+ 2 - 2
Library/ServiceAdaptor.NetCore.Sers/ServiceAdaptor.NetCore.Sers.csproj

@@ -6,7 +6,7 @@
 
 	<PropertyGroup>
 		<TargetFramework>netstandard2.0</TargetFramework>
-		<Version>1.3.8</Version>
+		<Version>1.3.9</Version>
 	</PropertyGroup>
 
 	<PropertyGroup>
@@ -21,7 +21,7 @@
 
 	<ItemGroup>
 		<!-- Sers -->
-		<PackageReference Include="Sers.Serslot" Version="2.1.9" />
+		<PackageReference Include="Sers.Serslot" Version="2.1.10" />
 	</ItemGroup>
 
 	<ItemGroup>

+ 2 - 2
Library/ServiceAdaptor.NetCore/ServiceAdaptor.NetCore.csproj

@@ -6,7 +6,7 @@
 
 	<PropertyGroup>
 		<TargetFramework>netstandard2.0</TargetFramework>
-		<Version>1.3.8</Version>
+		<Version>1.3.9</Version>
 	</PropertyGroup>
 
 	<PropertyGroup>
@@ -23,7 +23,7 @@
 		<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.1.0" />
 
 		<!-- Sers -->
-		<PackageReference Include="Vit.Core" Version="2.1.8" />
+		<PackageReference Include="Vit.Core" Version="2.1.9" />
 	</ItemGroup>
 
 

+ 1 - 1
Publish/ReleaseFile/docker-image/制作镜像.md

@@ -38,7 +38,7 @@ cd /root/image
 
 #构建镜像并推送到 Docker Hub 
 cd adaptor-gateway
-docker buildx build . -t serset/adaptor-gateway:1.3.8 -t serset/adaptor-gateway --platform=linux/amd64,linux/arm64,linux/arm/v7 --push
+docker buildx build . -t serset/adaptor-gateway:1.3.9 -t serset/adaptor-gateway --platform=linux/amd64,linux/arm64,linux/arm/v7 --push