diff --git a/Server/Program.cs b/Server/Program.cs index 5459b069..c5e5684f 100644 --- a/Server/Program.cs +++ b/Server/Program.cs @@ -21,6 +21,12 @@ public static class Program HarmonyBootstrapper.LoadAllPatches(assemblies); var builder = WebApplication.CreateBuilder(args); builder.Host.UseSerilog(); + builder.WebHost.ConfigureKestrel( + serverOptions => + { + serverOptions.Limits.KeepAliveTimeout = TimeSpan.FromMinutes(25); + } + ); builder.Configuration.AddJsonFile("appsettings.json", true, true);