From 3af5928096719ad4da8079091987e0f0cec66d5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Fri, 17 Sep 2021 11:55:28 +0800 Subject: [PATCH] 2.0.0-beta1 --- Directory.Build.props | 2 +- FastGithub/Program.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 9e3363e..1d53346 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 2.0.0 + 2.0.0-beta1 enable github加速神器 https://github.com/dotnetcore/FastGithub diff --git a/FastGithub/Program.cs b/FastGithub/Program.cs index d28c380..72e1bf4 100644 --- a/FastGithub/Program.cs +++ b/FastGithub/Program.cs @@ -48,6 +48,7 @@ namespace FastGithub .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); + webBuilder.UseShutdownTimeout(TimeSpan.FromSeconds(1d)); webBuilder.UseKestrel(kestrel => { kestrel.NoLimit();