Commit c128adec by lizefeng

修改超时配置

parent a624f193
...@@ -18,11 +18,6 @@ namespace AutoTurnOver ...@@ -18,11 +18,6 @@ namespace AutoTurnOver
} }
public static IWebHostBuilder CreateWebHostBuilder(string[] args) => public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args) WebHost.CreateDefaultBuilder(args);
.UseStartup<Startup>().UseKestrel(option =>
{
option.Limits.KeepAliveTimeout = TimeSpan.FromMinutes(30);
option.Limits.RequestHeadersTimeout = TimeSpan.FromMinutes(30);
});
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment