Commit a624f193 by lizefeng

修改相应超时时间

parent cf5f9405
......@@ -19,6 +19,10 @@ namespace AutoTurnOver
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>();
.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