removing ShutdownTimeout specification as it was changed in .NET 7 to 30 seconds (https://github.com/dotnet/runtime/pull/63712)

This commit is contained in:
sbwalker
2025-04-09 14:58:30 -04:00
parent 713cf5de2c
commit 0ac48cba34

View File

@ -70,7 +70,6 @@ namespace Oqtane
services.AddLocalization(options => options.ResourcesPath = "Resources");
services.AddOptions<List<Database>>().Bind(Configuration.GetSection(SettingKeys.AvailableDatabasesSection));
services.Configure<HostOptions>(opts => opts.ShutdownTimeout = TimeSpan.FromSeconds(10)); // increase from default of 5 seconds
// register scoped core services
services.AddScoped<IAuthorizationHandler, PermissionHandler>()