Fixed: Restoring large database backups

Remove Kestrel's default 28.6MB upload limit

(cherry picked from commit 286b083da429a49638c9121b1dda058b5425c476)
pull/1826/head
ta264 3 years ago
parent 1be3cdadb4
commit 92aae86664

@ -77,9 +77,10 @@ namespace NzbDrone.Host
}
})
.ConfigureKestrel(serverOptions =>
{
serverOptions.AllowSynchronousIO = true;
})
{
serverOptions.AllowSynchronousIO = true;
serverOptions.Limits.MaxRequestBodySize = null;
})
.ConfigureLogging(logging =>
{
logging.AddProvider(new NLogLoggerProvider());

Loading…
Cancel
Save