Fixed: Restoring large database backups

Remove Kestrel's default 28.6MB upload limit

(cherry picked from commit 286b083da429a49638c9121b1dda058b5425c476)
This commit is contained in:
ta264 2020-12-20 21:18:53 +00:00
commit 92aae86664

View file

@ -79,6 +79,7 @@ namespace NzbDrone.Host
.ConfigureKestrel(serverOptions => .ConfigureKestrel(serverOptions =>
{ {
serverOptions.AllowSynchronousIO = true; serverOptions.AllowSynchronousIO = true;
serverOptions.Limits.MaxRequestBodySize = null;
}) })
.ConfigureLogging(logging => .ConfigureLogging(logging =>
{ {